/*
 Navicat Premium Data Transfer

 Source Server         : hw-test
 Source Server Type    : MySQL
 Source Server Version : 80024
 Source Host           : localhost:3306
 Source Schema         : zzdemo-online-open

 Target Server Type    : MySQL
 Target Server Version : 80024
 File Encoding         : 65001

 Date: 05/07/2024 22:26:38
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for act_evt_log
-- ----------------------------
DROP TABLE IF EXISTS `act_evt_log`;
CREATE TABLE `act_evt_log` (
  `LOG_NR_` bigint NOT NULL AUTO_INCREMENT,
  `TYPE_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TIME_STAMP_` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DATA_` longblob,
  `LOCK_OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `LOCK_TIME_` timestamp(3) NULL DEFAULT NULL,
  `IS_PROCESSED_` tinyint DEFAULT '0',
  PRIMARY KEY (`LOG_NR_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_ge_bytearray
-- ----------------------------
DROP TABLE IF EXISTS `act_ge_bytearray`;
CREATE TABLE `act_ge_bytearray` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `BYTES_` longblob,
  `GENERATED_` tinyint DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_FK_BYTEARR_DEPL` (`DEPLOYMENT_ID_`),
  CONSTRAINT `ACT_FK_BYTEARR_DEPL` FOREIGN KEY (`DEPLOYMENT_ID_`) REFERENCES `act_re_deployment` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_ge_bytearray
-- ----------------------------
BEGIN;
INSERT INTO `act_ge_bytearray` VALUES ('bcd05b07-3aa9-11ef-86ec-acde48001122', 1, 'flowLeave.bpmn', 'bcd05b06-3aa9-11ef-86ec-acde48001122', 0x3C3F786D6C2076657273696F6E3D27312E302720656E636F64696E673D275554462D38273F3E0A3C646566696E6974696F6E7320786D6C6E733D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F4D4F44454C2220786D6C6E733A7873693D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D612D696E7374616E63652220786D6C6E733A7873643D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D612220786D6C6E733A666C6F7761626C653D22687474703A2F2F666C6F7761626C652E6F72672F62706D6E2220786D6C6E733A62706D6E64693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F44492220786D6C6E733A6F6D6764633D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44432220786D6C6E733A6F6D6764693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44492220786D6C6E733A62706D6E323D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F4D4F44454C2220786D6C6E733A64633D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44432220786D6C6E733A64693D22687474703A2F2F7777772E6F6D672E6F72672F737065632F44442F32303130303532342F44492220747970654C616E67756167653D22687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D61222065787072657373696F6E4C616E67756167653D22687474703A2F2F7777772E77332E6F72672F313939392F585061746822207461726765744E616D6573706163653D22687474703A2F2F666C6F7761626C652E6F72672F62706D6E222069643D226469616772616D5F666C6F774C6561766522207873693A736368656D614C6F636174696F6E3D22687474703A2F2F7777772E6F6D672E6F72672F737065632F42504D4E2F32303130303532342F4D4F44454C2042504D4E32302E787364223E0A20203C70726F636573732069643D22666C6F774C6561766522206E616D653D22E8AFB7E58187E794B3E8AFB72220697345786563757461626C653D2274727565223E0A202020203C657874656E73696F6E456C656D656E74733E0A2020202020203C666C6F7761626C653A657865637574696F6E4C697374656E6572206576656E743D22656E642220636C6173733D22636F6D2E6F72616E6765666F726D732E636F6D6D6F6E2E666C6F772E6C697374656E65722E466C6F7746696E69736865644C697374656E6572222F3E0A2020202020203C666C6F7761626C653A70726F706572746965733E0A20202020202020203C666C6F7761626C653A70726F7065727479206E616D653D22244F72616E67654469616772616D54797065222076616C75653D2230222F3E0A2020202020203C2F666C6F7761626C653A70726F706572746965733E0A202020203C2F657874656E73696F6E456C656D656E74733E0A202020203C73746172744576656E742069643D224576656E745F30346233676435222F3E0A202020203C73657175656E6365466C6F772069643D22466C6F775F306438366275772220736F757263655265663D224576656E745F3034623367643522207461726765745265663D2241637469766974795F30766A74763070222F3E0A202020203C73657175656E6365466C6F772069643D22466C6F775F317534306474372220736F757263655265663D2241637469766974795F30766A7476307022207461726765745265663D2241637469766974795F30366731347066222F3E0A202020203C73657175656E6365466C6F772069643D22466C6F775F303573316A306E2220736F757263655265663D2241637469766974795F3036673134706622207461726765745265663D2241637469766974795F30646E37753532222F3E0A202020203C656E644576656E742069643D224576656E745F30697479357767222F3E0A202020203C73657175656E6365466C6F772069643D22466C6F775F31627877637A612220736F757263655265663D2241637469766974795F30646E3775353222207461726765745265663D224576656E745F30697479357767222F3E0A202020203C757365725461736B2069643D2241637469766974795F30766A7476307022206E616D653D22E5BD95E585A52220666C6F7761626C653A61737369676E65653D22247B7374617274557365724E616D657D2220666C6F7761626C653A666F726D4B65793D227B2671756F743B666F726D49642671756F743B3A2671756F743B313830393133323633353633333438373837322671756F743B2C2671756F743B726561644F6E6C792671756F743B3A66616C73652C2671756F743B67726F7570547970652671756F743B3A2671756F743B41535349474E45452671756F743B7D223E0A2020202020203C657874656E73696F6E456C656D656E74733E0A20202020202020203C666C6F7761626C653A7461736B4C697374656E6572206576656E743D226372656174652220636C6173733D22636F6D2E6F72616E6765666F726D732E636F6D6D6F6E2E666C6F772E6C697374656E65722E466C6F77557365725461736B4C697374656E6572222F3E0A20202020202020203C666C6F7761626C653A7461736B4C697374656E6572206576656E743D226372656174652220636C6173733D22636F6D2E6F72616E6765666F726D732E636F6D6D6F6E2E666C6F772E6C697374656E65722E466C6F775461736B4E6F746966794C697374656E6572222F3E0A20202020202020203C666C6F7761626C653A7661726961626C654C6973742F3E0A20202020202020203C666C6F7761626C653A636F70794974656D4C6973742F3E0A20202020202020203C666C6F7761626C653A6F7065726174696F6E4C6973743E0A202020202020202020203C666C6F7761626C653A666F726D4F7065726174696F6E2069643D223137323031363835343036373222206C6162656C3D22E5908CE6848F2220747970653D226167726565222073686F774F726465723D2230222F3E0A20202020202020203C2F666C6F7761626C653A6F7065726174696F6E4C6973743E0A2020202020203C2F657874656E73696F6E456C656D656E74733E0A202020203C2F757365725461736B3E0A202020203C757365725461736B2069643D2241637469766974795F3036673134706622206E616D653D22E5AEA1E689B9412220666C6F7761626C653A61737369676E65653D2261646D696E2220666C6F7761626C653A666F726D4B65793D227B2671756F743B666F726D49642671756F743B3A2671756F743B313830393133323633353633333438373837322671756F743B2C2671756F743B726561644F6E6C792671756F743B3A747275652C2671756F743B67726F7570547970652671756F743B3A2671756F743B41535349474E45452671756F743B7D223E0A2020202020203C657874656E73696F6E456C656D656E74733E0A20202020202020203C666C6F7761626C653A7461736B4C697374656E6572206576656E743D226372656174652220636C6173733D22636F6D2E6F72616E6765666F726D732E636F6D6D6F6E2E666C6F772E6C697374656E65722E466C6F77557365725461736B4C697374656E6572222F3E0A20202020202020203C666C6F7761626C653A7461736B4C697374656E6572206576656E743D226372656174652220636C6173733D22636F6D2E6F72616E6765666F726D732E636F6D6D6F6E2E666C6F772E6C697374656E65722E466C6F775461736B4E6F746966794C697374656E6572222F3E0A20202020202020203C666C6F7761626C653A6F7065726174696F6E4C6973743E0A202020202020202020203C666C6F7761626C653A666F726D4F7065726174696F6E2069643D223137323031363835353530353922206C6162656C3D22E5908CE6848F2220747970653D226167726565222073686F774F726465723D2230222F3E0A202020202020202020203C666C6F7761626C653A666F726D4F7065726174696F6E2069643D223137323031363835353834383522206C6162656C3D22E9A9B3E59B9EE588B0E8B5B7E782B92220747970653D2272656A656374546F5374617274222073686F774F726465723D2230222F3E0A20202020202020203C2F666C6F7761626C653A6F7065726174696F6E4C6973743E0A20202020202020203C666C6F7761626C653A7661726961626C654C6973742F3E0A20202020202020203C666C6F7761626C653A636F70794974656D4C6973742F3E0A2020202020203C2F657874656E73696F6E456C656D656E74733E0A202020203C2F757365725461736B3E0A202020203C757365725461736B2069643D2241637469766974795F30646E3775353222206E616D653D22E5AEA1E689B9422220666C6F7761626C653A61737369676E65653D2261646D696E2220666C6F7761626C653A666F726D4B65793D227B2671756F743B666F726D49642671756F743B3A2671756F743B313830393133323633353633333438373837322671756F743B2C2671756F743B726561644F6E6C792671756F743B3A747275652C2671756F743B67726F7570547970652671756F743B3A2671756F743B41535349474E45452671756F743B7D223E0A2020202020203C657874656E73696F6E456C656D656E74733E0A20202020202020203C666C6F7761626C653A7461736B4C697374656E6572206576656E743D226372656174652220636C6173733D22636F6D2E6F72616E6765666F726D732E636F6D6D6F6E2E666C6F772E6C697374656E65722E466C6F77557365725461736B4C697374656E6572222F3E0A20202020202020203C666C6F7761626C653A7461736B4C697374656E6572206576656E743D226372656174652220636C6173733D22636F6D2E6F72616E6765666F726D732E636F6D6D6F6E2E666C6F772E6C697374656E65722E466C6F775461736B4E6F746966794C697374656E6572222F3E0A20202020202020203C666C6F7761626C653A7661726961626C654C6973742F3E0A20202020202020203C666C6F7761626C653A636F70794974656D4C6973742F3E0A20202020202020203C666C6F7761626C653A6F7065726174696F6E4C6973743E0A202020202020202020203C666C6F7761626C653A666F726D4F7065726174696F6E2069643D223137323031363835373339303322206C6162656C3D22E5908CE6848F2220747970653D226167726565222073686F774F726465723D2230222F3E0A202020202020202020203C666C6F7761626C653A666F726D4F7065726174696F6E2069643D223137323031363835373734393522206C6162656C3D22E9A9B3E59B9E2220747970653D2272656A656374222073686F774F726465723D2230222F3E0A20202020202020203C2F666C6F7761626C653A6F7065726174696F6E4C6973743E0A2020202020203C2F657874656E73696F6E456C656D656E74733E0A202020203C2F757365725461736B3E0A20203C2F70726F636573733E0A20203C62706D6E64693A42504D4E4469616772616D2069643D2242504D4E4469616772616D5F666C6F774C65617665223E0A202020203C62706D6E64693A42504D4E506C616E652062706D6E456C656D656E743D22666C6F774C65617665222069643D2242504D4E506C616E655F666C6F774C65617665223E0A2020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D224576656E745F30346233676435222069643D2242504D4E53686170655F4576656E745F30346233676435223E0A20202020202020203C6F6D6764633A426F756E6473206865696768743D2233362E30222077696474683D2233362E302220783D223138322E302220793D223237322E30222F3E0A2020202020203C2F62706D6E64693A42504D4E53686170653E0A2020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D224576656E745F30697479357767222069643D2242504D4E53686170655F4576656E745F30697479357767223E0A20202020202020203C6F6D6764633A426F756E6473206865696768743D2233362E30222077696474683D2233362E302220783D223735322E302220793D223237322E30222F3E0A2020202020203C2F62706D6E64693A42504D4E53686170653E0A2020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D2241637469766974795F30766A74763070222069643D2242504D4E53686170655F41637469766974795F30766A74763070223E0A20202020202020203C6F6D6764633A426F756E6473206865696768743D2238302E30222077696474683D223130302E302220783D223237302E302220793D223235302E30222F3E0A2020202020203C2F62706D6E64693A42504D4E53686170653E0A2020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D2241637469766974795F30366731347066222069643D2242504D4E53686170655F41637469766974795F30366731347066223E0A20202020202020203C6F6D6764633A426F756E6473206865696768743D2238302E30222077696474683D223130302E302220783D223433302E302220793D223235302E30222F3E0A2020202020203C2F62706D6E64693A42504D4E53686170653E0A2020202020203C62706D6E64693A42504D4E53686170652062706D6E456C656D656E743D2241637469766974795F30646E37753532222069643D2242504D4E53686170655F41637469766974795F30646E37753532223E0A20202020202020203C6F6D6764633A426F756E6473206865696768743D2238302E30222077696474683D223130302E302220783D223539302E302220793D223235302E30222F3E0A2020202020203C2F62706D6E64693A42504D4E53686170653E0A2020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22466C6F775F30643836627577222069643D2242504D4E456467655F466C6F775F30643836627577223E0A20202020202020203C6F6D6764693A776179706F696E7420783D223231382E302220793D223239302E30222F3E0A20202020202020203C6F6D6764693A776179706F696E7420783D223237302E302220793D223239302E30222F3E0A2020202020203C2F62706D6E64693A42504D4E456467653E0A2020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22466C6F775F31753430647437222069643D2242504D4E456467655F466C6F775F31753430647437223E0A20202020202020203C6F6D6764693A776179706F696E7420783D223337302E302220793D223239302E30222F3E0A20202020202020203C6F6D6764693A776179706F696E7420783D223433302E302220793D223239302E30222F3E0A2020202020203C2F62706D6E64693A42504D4E456467653E0A2020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22466C6F775F303573316A306E222069643D2242504D4E456467655F466C6F775F303573316A306E223E0A20202020202020203C6F6D6764693A776179706F696E7420783D223533302E302220793D223239302E30222F3E0A20202020202020203C6F6D6764693A776179706F696E7420783D223539302E302220793D223239302E30222F3E0A2020202020203C2F62706D6E64693A42504D4E456467653E0A2020202020203C62706D6E64693A42504D4E456467652062706D6E456C656D656E743D22466C6F775F31627877637A61222069643D2242504D4E456467655F466C6F775F31627877637A61223E0A20202020202020203C6F6D6764693A776179706F696E7420783D223639302E302220793D223239302E30222F3E0A20202020202020203C6F6D6764693A776179706F696E7420783D223735322E302220793D223239302E30222F3E0A2020202020203C2F62706D6E64693A42504D4E456467653E0A202020203C2F62706D6E64693A42504D4E506C616E653E0A20203C2F62706D6E64693A42504D4E4469616772616D3E0A3C2F646566696E6974696F6E733E, 0);
INSERT INTO `act_ge_bytearray` VALUES ('be002878-3aa9-11ef-86ec-acde48001122', 1, 'flowLeave.flowLeave.png', 'bcd05b06-3aa9-11ef-86ec-acde48001122', 0x89504E470D0A1A0A0000000D494844520000031E000001540806000000AA66EA1D0000199149444154785EEDDD79B01C65BD37F00BB85CB7927B8572A554D492F20F4BFFD09257CB7A55AED7124B2C856C040C2698206840B2A86099605C7005028658D79245F00A1AADC06BBD0889318A2C82685834206B02312789D9902472A56FFFBA32A9C93327E19090D3CF99E7F3A9FAD63933D3D3DDC9F9F5FCFA99E9EEF9977F01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080A7A4AAAA67DD77DF7D57DC70C30DFF58B4685175EDB5D7CA30A7FE7F7F62E9D2A58F2C5EBCF8A8F4EFD3EFD45FFB517FEAAFCD945C7F00C5A99BEE95F58B7EB57AF5EA6ACB962DD5B66DDB649813FFEFF1FFBF64C9928D75233E32FD1BF533F5D77ED49FFA6B3325D71F4071E29DBE78D14F9B810C7F56AD5AB5B66EBC37A77FA37EA6FEF289FA93365362FD0114270E2FF04E5F1E89BF43DD78B7A67FA37EA6FEF289FA93365362FD0114278EB14D1B80B497F87BA47FA37EA6FEF28AFA9336535AFD011467A88DF7D10DABAAFB7EF7FDEACEEBCE6A12BFC77DE974B27729ADF1AABFBCA2FE068FFA1B9E94567F00C5194AE3DDBCFEE1EA8E6B3E5FFDF1FF4DDF29715F3C964E2F7B9ED21AAFFACB2BEAAF37EA6FF8525AFD011467288D77C59D0B7B9A6E272BEFBCAA677AD9F394D678D55F5E517FBD517FC397D2EA0FA0384369BC7FFAE5D93D0DB793782C9D5EF63CA5355EF59757D45F6FD4DFF0A5B4FA0328CE501AEF1DD7CEEA69B89DC463E9F4B2E729ADF1AABFBCA2FE7AA3FE862FA5D51F407134DEBC525AE3557F7945FDF546FD0D5F4AAB3F80E20CA5F1C6555CD286DB493C964E2F7B9ED21AAFFACB2BEAAF37EA6FF8525AFD011467288DF79EEBCFEF69B89DC463E9F4B2E729ADF1AABFBCA2FE7AA3FE862FA5D51F407186D278D73DBCACBAE3175FE869BA715F3C964E2F7B9ED21AAFFACB2BEAAF37EA6FF8525AFD011467288D3772FF2D97F434DEB82F9D4EF62EA5355EF59757D4DFE0517FC393D2EA0FA038436ABC5BB756F7FC765E4FE38DFBE2B19EE9658F535AE3557F7945FD0D12F5376C29ADFE008AF3648D37BE99F7EEEBE7F634DD4EE231DFDEFBF4A5B4C6ABFEF28AFADB39EA6F78535AFD011467978D77EBD66AD53D8BABDBFFFFE77A9A6D9A9826A6F5EEDFDEA7B4C6ABFEF28AFADB1EF5D74A4AAB3F80E20CD6789FEC5DBE5DC5BB7F7B9FD21AAFFACB2BEA4FFDB599D2EA0FA0388335DEA1BCCBB7ABC473D3F9C9D0535AE3557F7945FDA9BF36535AFD011467B0C69B36D3A79A747E32F494D678D55F5E517FEAAFCD94567F00C519ACF14A7B29ADF1AABFBCA2FEA4CD94567F7B6AC28409078E1933E6E8D1A3479F57FF5C54E7FE3A8FD5A9B6FF8CDB8BB63F7E744C9FCE03789A6CDCB8F1DF172E5C78D6F9E79FFFC7D9B367AF9D3973E696934E3AE989D820A74C99F2F8B469D3369D71C6190F9D75D659574D9F3EFD7DF553F64BE751128D37AF94D678D55F5E517FD2664AABBFA76AECD8B1FF51EFCB2CA8B36DFB2063A889E917C4F3D379027BE8A69B6E9A72CE39E73C3C79F2E4AA1E6C54575E796575EBADB756F7DE7B6FB56EDDBA2AC4CFB81DF7C7E33366CC7862E2C489DBEA01C835E3C68D3B349D670934DEBC525AE3557F7945FD499B29ADFE86AA1E301C5E0F1C6E1C6440B127B931E6972E0318A265CB96BDFF3BDFF9CE231FFFF8C7AB9FFCE427D59A356B9A41C650C5F4F1BC7A00F28FD34E3BED8A7A833C285D463FD378F34A698D57FDE515F5276DA6B4FA7B3213264CF8D7D1A3475F500F169AA336BA73EAA9A756975D76D96EDF608DC763BAF4B931BF986FCC3F5D26B00BF5F675C0CF7FFEF38531E0B8F8E28BABCD9B37EF3CA2788AE2F9319F7A437C6CFCF8F11F4A97D7AF34DEBC525AE3557F7945FD499B29ADFE76A71E1C1C3276ECD83F760F18C68D1B57CD9F3FBF5AB97265BA0BB35B317D3C2F9E9F0C40FE10CB49970D24EAEDE8C04B2FBDF4EE934F3EB9BAEFBEFBD26D6CAFC4FCEAC1CC96891327CE4E97DB8F34DEBC525AE3557F7945FD499B29ADFE76A51E701C56E7E1EE41C2D9679F5DAD58B122DD65794AE2F9319F64F0B1229697AE03B05DBDED1C78DE79E7AD3FF3CC33ABF5EBD7A7DBD5D322E63B73E6CCC78E3FFEF84BD2E5F71B8D37AF94D678D55F5E517FD2664AABBFC16CFFA463C7A0233EA558B87061BA9BB257627EC9A71F2B7CF20183A8B797032EBDF4D27B62D0112F52FB52CC7FDAB4691B8E3DF6D833D2F5E8271A6F5E29ADF1AABFBCA2FEA4CD94567FA938E7A2FBF0AA134E38A1BAEDB6DBD2DD93A745CC37E6DF35F8F883733E2011E7749C72CA29FBEC938E542C67D2A4499BEA0DF283E9BAF40B8D37AF94D678D55F5E517FD2664AABBFD4F613C9777CD2B1AF061D1D31FFEE4F3E62F9E93A41B1EA0DE4C83891FCE93EA7E3C9C4F2C68F1FBFFE98638E39385DA77EA0F1E695D21AAFFACB2BEA4FDA4C69F5D76DFB2573FFD919045C75D555E9EEC83E11CBE9FAD4E39F2EB50BDBC52573E3AA536D98376FDE23F506796EBA4EFD40E3CD2BA5355EF59757D49FB499D2EAAFDB98AEEFE98813C0875372C2F98DE9BA4171E2CB01E3D38E4D9B36A5DBCBB088E51E77DC711BFBF14B0635DEBC525AE3557F7945FD499B29ADFE3A468D1A754467C73F0E7DDADBAB573D55B1BCEE43AE627DD27584A2C437922F58B020DD5686D525975C726FBD41CE4FD76DA4D378F34A698D57FDE515F5276DA6B4FAEBA8F72D167476FAE3FB36DA10CBEDFAD46341BA8E508C4D9B36BD68CA9429D5C0C040BA9D0CAB7AF9FF336EDCB8D5B366CDDA3F5DC7914CE3CD2BA5355EF59757D49FB499D2EA2FD4FB15FF56EFE86FEBECF40FF7A71D1DB1DCAE81C7B658AF745DA108575F7DF5EC993367A6DB482B264D9AF440BD41FE9F741D7354AFE72FEBFCDFF4FE94C69B57FAA5F1AABF9119F5276DA65FEAAF632875583F7E746787FFD4534F4D773B86552CBF6BF07174BAAE5084B973E7DE7EE59557A6DB472B2EBCF0C23FD41BE357D375CC51D78BC76E5FF834DEBCD22F8D57FD8DCCA83F6933FD527F1D43A9C3FAFEB99DE97EF0831FA4BB1DC32A96DFB5CE73D3758522CC9E3D7BEDADB7DE9A6E1FAD58BA74E9B2D1A3472F4CD731475D2F1EBB7DE1D378F34ABF345EF53732A3FEA4CDF44BFD750CA50EC78E1DBBB8F3F82DB7DC92EE760CAB587E675D62BDBAD7138A3163C68C2DC3FDDD1DBBB27CF9F238D4EA77E93AE6689017BC415FF834DEBCD22F8D7790BA537F2320EA4FDA4CBFD45FC720F5D75387F5CF873AF7B7BDAF13CBEF5AC787927F0E9461CA94294FFCED6F7F4BB78F56AC5BB76E73BD313E9CAE638E0679A14BD3BCF069BC79A55F1AEF20F59646FD6518F5276DA65FEAAF6390BA4B1375F8F7CEEDB6F77562F99D75193B76ECA6F4DF034538EEB8E3AAC71F7F3CDD3E5A51AFC7A6415E384674726FBC5BB76EEDB9AF9F93FE7DFA3D39D7DFF5D75F5F9D7BEEB93DF777F2A73FFDA9FAE94F7FDAFCFEFBDFFFBE5AB9726553AF37DD7453B57AF5EA9EE94742D2BF4FBF27E7FA8B945683E9DFA7B4B4BDAF13CBEF5A9FFF49F7C7A00893274F7EBCED77013AD6AC59F3973123FF138F5F8E1941871A5C7DF5D5D501071C503DFBD9CFEEC9339FF9CC6AC3860D3B4D1F5F3479C8218754AF7CE52BAB97BDEC65715E4ECF3C734EBFBCE33748DD655F7F37DC704375CA29A75453A74E6D72D86187C5DFA28ACB7977EE8BC77FFBDBDF36D3CF9B37AF3AF0C0039BDFA3DEBEFCE52F37BF3FEB59CFAA2EBFFCF29EF98F84A8BF76537A0DF64BFD750C527F3D75189F2C74EE6F7B5FC7271E503BFDF4D337B57DDC63C75D77DD75CB98917B8EC74E0DB723B7C69BE6AF7FFD6B75DA69A7559FFAD4A776CAE1871FDE34E574FA68B673E6CCA93EFAD18F360D7BA435DF7E69BC23B1FE7EF8C31F56FBEDB75F3571E2C426471D755475F0C10757A3478FDE71DFFEFBEFDF5CF9E557BFFA5575C2092754CF7FFEF3AB1FFDE847D5EB5FFFFAEAEB5FFF7A339FE73EF7B9557CE1E9AF7FFDEB6AD9B2653BE61FEF42D7FFE4EA79CF7B5EBC89D1B3FC1CA2FEDACDBEAAC15FFCE2174DED75126FDA1C7AE8A1555C31325D8736D32FF5D731943A1CE31C0FC8CB99679EB92297AB5A5D77DD758B46E055AD7A5EE8BAE5D678BB133B670F3CF04075CE39E754DFFCE637AB6F7FFBDB3BF2E637BFB9FAC0073ED01C5A30D82105314DFDCFAB3EFFF9CFF73C9673FAA5F18EC4FAFBFBDFFF5ECD9831A37AD7BBDE55BDE73DEFA9DEF296B73435F4F6B7BFBDB9FDEE77BFBBFACC673E536DDEBCB9FAD9CF7E567DE4231F6976F0E25098D8E97BEB5BDFDABC231DF78D1F3FBED9B99B3B77EE8EF9C7BBD631BFC879E79DD7B3FC1CA2FEDACDBEAAC16BAEB9A6994FBC667EEB5BDFAA66CF9E5D1D74D041D50B5FF8C2EAB1C71EEB598FB6D22FF5D731943A74552BC8CCAC59B3AECAE57B3CE6CC99B360CCC8F91E8F5DBED075CBADF176A71E74EEF42EDDAE128D3A7DEE11471CD13C16CD387D2CE7F44BE31DA9F53779F2E4EA55AF7A55155F5A7AFCF1C73735F4894F7CA2B91DF7C7E0A133ED77BFFBDDEA452F7A5175CF3DF7347516EF2047C38E9DBE78DEC9279FBC63DA3824300E8979DBDBDED6FC7CE31BDFD8B3EC1CA2FEDACFBEA8C1CEC0E32B5FF94A73FBD1471F6D0633518B31D849D7A1ADF44BFD750CA50EC7F81E0FC84BFD62FB9FF58EE513E906D282C7C78D1BB76CCC08F9E6F2A1CAB1F17672FBEDB737EFE4C5B7A9C6A102175D7451D33C2FB8E0826AE1C285D59BDEF4A6EAFBDFFF7E75C71D77ECF4BCBBEFBEBB391CE1631FFB58337D3C379D77AEE9B7C6FB6472ABBFD8A97BF9CB5FDED4CEFBDFFFFEA67EA209C7ED3867A8B3D377DB6DB755C71E7BEC8EC16D7A98CBA44993769A6FD4694C3B7FFEFCEAC4134F6C7EFFCD6F7ED3B3FCB6A3FEDACFBEA8C1CEC0E3052F7841F5E217BFB8393C2B6EEFEEC4F536525AFD8531197D73F9D4A9539FE81A78F8E672CA346BD6ACFDEB17D06D030303E93632AC56AE5C797DBD21AE8AF549D77124CBB1F176E7B39FFD6CD320E3B081B8824BFC1EE76FBCE31DEF68DEAD5BB26449CF73EA0162F59CE73CA7393F249A719C0B1227CDA5D3E598D21A6F6EF5173B75AF78C52B9A9F1FFEF08777D45EF7FD315D67F0103B7831804877FAE2F8FAEE2BB2BDF39DEF6CA6BFE28A2B9A7390E2F7091326F42CBFEDA8BFF6B32F6AB033F088D7CD38142B5E43E3DC91481CD79FAE435B29ADFE42DDAFFEADDEB7D8D6D9E15FB16245BAFB312C62B95D838E6DB15EE9BA4231A64F9F7E4DBC88B6E98B5FFCE2E5F5C6383F5DB7912EC7C69BE6C73FFE71B3E3F6A52F7DA9699E9138BCE0AEBBEEEA99364ECE8CC7E3B084B81D1F1DC7ED78314DA7CD31A535DEDCEA2F76EA5EFBDAD756B366CD6A4EE4AD57B13AFDF4D39BDBAF79CD6B76ECF4FDF9CF7FAEBEF18D6F347518B707DBE98B01469C6314751A270CC7BCBA93E349E6EAAFFDEC8B1A4C0FB58A9C7FFEF9CD7DF10972BA0E6DA5B4FAEBA8FB531CC6DDF4A9F854B40DB1DCAE81C782741DA128F5C8FBD0FA05F81F9B366D4AB79561B17EFDFA9BEB0D7120D6235DB7912EC7C6DB49FDFFDE0C1CE258E47A55AB4F7FFAD33B06157128559C2819871B74A68FEBD9C76576DFF08637546BD7AEDD717F5C11A6F3BCDCBF17A4B4C69B5BFDC58E5EECC8BDF7BDEF6DCEC7A857B119F4C6EDB8BFFBF095CEF1F5F17BECF4C515866247AFB3D31757631B356A54357DFAF4663E71926F5C0635128FC57D0E7569576EF517D91735D81978BCEF7DEF6B061F5FF8C217AAD7BDEE75CD7DF158BA0E6DA5B4FAEBA8FF46477476FAE313FBE1FED423963776ECD81D8759C5FAA4EB08C5A95F40AFB8F8E28BD3ED6558D4CBFE51BD319E9BAE533FC8B1F176B27CF9F2EA19CF784673B8415C8525AE515FAF7275F3CD37374DF5A52F7D6973D596381724AE7C15EF2AC7C995F7DE7BEF4EF3D9B871E38E435D4E3AE9A49EE5E494D21A6F6EF517971F5DBC78F18EDFEB55ACEEBFFFFEE676AC6BE7FB13E2677CB9695C19280E5D8943FBA2FEEAE6DD1C3F1F173788EF55F8DCE73E57BDE4252F690E69E93E89F7C1071F6CBE9F26CE534AD7A1CDA8BFF6F374D7E019679CD17339DDA8BD18B0447DA6CB6F33A5D55FB77A1FE3C6CE8EFFD9679F9DEE86EC53B1BCAE4F3B6E4CD70D8A74CC31C71C3C61C284C786FB3AD7B7DC724B1C623510CB4FD7A91FE4D878BB133B68F1330E29882F068C01445C9125EE8B4FC0AEBBEEBAE6F7186CC471D0835D5A3712CFF9E4273FD91C9E903E96534A6BBC39D75F9C3FB4AB43FABEF7BDEF55AF7EF5AB9B816C5C7DEDAB5FFD6AF597BFFCA579EC6B5FFB5A75E49147362703C73B89E973738EFACB2BA5D56069F5D7AD1E301E5EEF6BFCB33300B8EAAAABD2DD917D2296D335E8F867AC47BA6E50AC7AC7F24393274FDE1287E00C878181815FD51BE283753E98AE4BBFC8BDF19696D21AAFFACB2BEA4FDA4C69F5971A3D7AF4059D41401C72158712EF4B31FFEE43AC62F9E93A41F1264E9C387BE6CC998FC58BD4BEB475EBD6BBEA0DFF77F546F9D9741DFA89C69B574A6BBCEA2FAFA83F6933A5D55F6AC28409FF5A0F00FED01908C4393BFB6AF011F3AD97B7E31396586E2C3F5D27A076FCF1C75F326DDAB40DFBEA938F8181812531E8A837C4FF4A97DD6F34DEBC525AE3557F7945FD499B29ADFE0653EF771C526745F7271FF1BD554FA7985FF7271DDB977748BA2E4097638F3DF68C8913276E7ABACFF9D87E4EC743FDFE494787C69B574A6BBCEA2FAFA83F6933A5D5DFAED4FB1F87750F3E227102F8DE5EED2A9E9F9C48DE0C3A6279E93A0083A837980F8E1F3F7EFDBC79F31ED9BC7973BA8D3D251B366CB869FBD5AB0662BEE9B2FA95C69B574A6BBCEA2FAFA83F6933A5D5DFEEC4271063BA0EBB8AC4A71FF17D1B2B57AE4C7761762BA68FE7259F72348757C572D26503BB516F4807D51BCEB9C71D77DCC68B2EBAE8DE356BD63C9E6E74BBF1F8C30F3F7CFDECD9B39B2B57C57C627EE932FA99C69B574A6BBCEA2FAFA83F6933A5D5DF9389732EB69F709E0E18AA534F3DB5BAECB2CBAA5B6FBDB5B9AAE3BA75EB9A9D9AF819B7E3FE787CEAD4A93DCF8DF9C57C9DD3017B21BEDCAFDE98E6D7038781134F3CF1C10B2FBCF0B6A54B972E5BBE7CF9436BD7AE7DB4DE1E370F0C0CDC77E79D77DE52BFB85D3B67CE9C05F57396D5CFF96B3CAF1FBF1C702834DEBC525AE3557F7945FD499B29ADFE866AFBA576777CCFC75EE64697CC85A7D77EA3468D7A7BBD617DA51ED12FAC37B2F8D6F1CEB192F1F3E6B83F1E8FE962FA740625D178F34A698D57FDE515F5276DA6B4FA7BAAEAFD96FFA8F76116D4D936C880627789E917C4F3D379020C2B8D37AF94D678D55F5E517FD2664AABBF3D3561C28403EB81C4D1A3478F3EAFFEB9A8CEFD751EDB3EC8889F717BD1F6C78F8EE9D37900B442E3CD2BA5355EF59757D49FB499D2EA0FA0381A6F5E29ADF1AABFBCA2FEA4CD94567F00C5D178F34A698D57FDE515F5276DA6B4FA03288EC69B574A6BBCEA2FAFA83F6933A5D51F407134DEBC525AE3557F7945FD499B29ADFE008AA3F1E695D21AAFFACB2BEA4FDA4C69F507501C8D37AF94D678D55F5E517FD2664AAB3F80E268BC79A5B4C6ABFEF28AFA9336535AFD011447E3CD2BA5355EF59757D49FB499D2EA0FA0381A6F5E29ADF1AABFBCA2FEA4CD94567F00C5D178F34A698D57FDE515F5276DA6B4FA03288EC69B574A6BBCEA2FAFA83F6933A5D51F407134DEBC525AE3557F7945FD499B29ADFE008AA3F1E695D21AAFFACB2BEA4FDA4C69F507501C8D37AF94D678D55F5E517FD2664AAB3F80E268BC79A5B4C6ABFEF28AFA9336535AFD011447E3CD2BA5355EF59757D49FB499D2EA0FA0388B162D7A62CB962D3D0D40863FF5DFE191BAF16E4DFF46FD4CFDE513F5276DA6C4FA0328CED2A54B1F59BD7A754F1390E1CF830F3EF8DF75E3BD39FD1BF533F5974FD49FB49912EB0FA0388B172F3E6AC992251B57AD5AB5D63B7FEDA4FE7F5FF5C0030F5C5E37DD87EA1C99FE8DFA99FA6B3FEA4FFDB59992EB0FA048F1621FEF34D5D916C7D8CAB027FEDFE3FFBFC8A61BFFEEEDFF7EF5D74ED49FFA6B3345D71F000000000000000000000000000000000000000000000000000000C06EFD2FE154B1E7871DBABA0000000049454E44AE426082, 1);
COMMIT;

-- ----------------------------
-- Table structure for act_ge_property
-- ----------------------------
DROP TABLE IF EXISTS `act_ge_property`;
CREATE TABLE `act_ge_property` (
  `NAME_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `VALUE_` varchar(300) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REV_` int DEFAULT NULL,
  PRIMARY KEY (`NAME_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_ge_property
-- ----------------------------
BEGIN;
INSERT INTO `act_ge_property` VALUES ('batch.schema.version', '7.0.1.1', 1);
INSERT INTO `act_ge_property` VALUES ('cfg.execution-related-entities-count', 'true', 1);
INSERT INTO `act_ge_property` VALUES ('cfg.task-related-entities-count', 'true', 1);
INSERT INTO `act_ge_property` VALUES ('common.schema.version', '7.0.1.1', 1);
INSERT INTO `act_ge_property` VALUES ('entitylink.schema.version', '7.0.1.1', 1);
INSERT INTO `act_ge_property` VALUES ('eventsubscription.schema.version', '7.0.1.1', 1);
INSERT INTO `act_ge_property` VALUES ('identitylink.schema.version', '7.0.1.1', 1);
INSERT INTO `act_ge_property` VALUES ('job.schema.version', '7.0.1.1', 1);
INSERT INTO `act_ge_property` VALUES ('next.dbid', '1', 1);
INSERT INTO `act_ge_property` VALUES ('schema.history', 'create(7.0.1.1)', 1);
INSERT INTO `act_ge_property` VALUES ('schema.version', '7.0.1.1', 1);
INSERT INTO `act_ge_property` VALUES ('task.schema.version', '7.0.1.1', 1);
INSERT INTO `act_ge_property` VALUES ('variable.schema.version', '7.0.1.1', 1);
COMMIT;

-- ----------------------------
-- Table structure for act_hi_actinst
-- ----------------------------
DROP TABLE IF EXISTS `act_hi_actinst`;
CREATE TABLE `act_hi_actinst` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT '1',
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `ACT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CALL_PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ACT_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ACT_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `ASSIGNEE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `START_TIME_` datetime(3) NOT NULL,
  `END_TIME_` datetime(3) DEFAULT NULL,
  `TRANSACTION_ORDER_` int DEFAULT NULL,
  `DURATION_` bigint DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_ACT_INST_START` (`START_TIME_`),
  KEY `ACT_IDX_HI_ACT_INST_END` (`END_TIME_`),
  KEY `ACT_IDX_HI_ACT_INST_PROCINST` (`PROC_INST_ID_`,`ACT_ID_`),
  KEY `ACT_IDX_HI_ACT_INST_EXEC` (`EXECUTION_ID_`,`ACT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_hi_actinst
-- ----------------------------
BEGIN;
INSERT INTO `act_hi_actinst` VALUES ('0669cc29-3aab-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '0669cc28-3aab-11ef-86ec-acde48001122', 'Activity_0vjtv0p', '0669cc2a-3aab-11ef-86ec-acde48001122', NULL, '录入', 'userTask', 'admin', '2024-07-05 16:46:09.319', '2024-07-05 16:46:18.402', 1, 9083, NULL, '');
INSERT INTO `act_hi_actinst` VALUES ('0bd9662c-3aab-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '0669cc28-3aab-11ef-86ec-acde48001122', 'Flow_1u40dt7', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-07-05 16:46:18.439', '2024-07-05 16:46:18.439', 1, 0, NULL, '');
INSERT INTO `act_hi_actinst` VALUES ('0bdf0b7d-3aab-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '0669cc28-3aab-11ef-86ec-acde48001122', 'Activity_06g14pf', '0bdf328e-3aab-11ef-86ec-acde48001122', NULL, '审批A', 'userTask', 'admin', '2024-07-05 16:46:18.476', NULL, 2, NULL, NULL, '');
INSERT INTO `act_hi_actinst` VALUES ('e1fbee32-3aaa-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Event_04b3gd5', NULL, NULL, NULL, 'startEvent', NULL, '2024-07-05 16:45:08.201', '2024-07-05 16:45:08.205', 1, 4, NULL, '');
INSERT INTO `act_hi_actinst` VALUES ('e1fcd893-3aaa-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Flow_0d86buw', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-07-05 16:45:08.207', '2024-07-05 16:45:08.207', 2, 0, NULL, '');
INSERT INTO `act_hi_actinst` VALUES ('e1fcd894-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Activity_0vjtv0p', 'e200f745-3aaa-11ef-86ec-acde48001122', NULL, '录入', 'userTask', 'admin', '2024-07-05 16:45:08.207', '2024-07-05 16:45:10.069', 3, 1862, NULL, '');
INSERT INTO `act_hi_actinst` VALUES ('e31e4e2b-3aaa-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Flow_1u40dt7', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-07-05 16:45:10.104', '2024-07-05 16:45:10.104', 1, 0, NULL, '');
INSERT INTO `act_hi_actinst` VALUES ('e322bafc-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Activity_06g14pf', 'e322e20d-3aaa-11ef-86ec-acde48001122', NULL, '审批A', 'userTask', 'admin', '2024-07-05 16:45:10.133', '2024-07-05 16:45:36.454', 2, 26321, NULL, '');
INSERT INTO `act_hi_actinst` VALUES ('f2d8563f-3aaa-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Flow_05s1j0n', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-07-05 16:45:36.489', '2024-07-05 16:45:36.489', 1, 0, NULL, '');
INSERT INTO `act_hi_actinst` VALUES ('f2dcc310-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Activity_0dn7u52', 'f2dcc311-3aaa-11ef-86ec-acde48001122', NULL, '审批B', 'userTask', 'admin', '2024-07-05 16:45:36.518', '2024-07-05 16:45:58.241', 2, 21723, 'Change activity to Activity_06g14pf', '');
INSERT INTO `act_hi_actinst` VALUES ('ffef78e5-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'ffef51d3-3aaa-11ef-86ec-acde48001122', 'Activity_06g14pf', 'ffef78e6-3aaa-11ef-86ec-acde48001122', NULL, '审批A', 'userTask', 'admin', '2024-07-05 16:45:58.451', '2024-07-05 16:46:09.095', 1, 10644, 'Change activity to Activity_0vjtv0p', '');
COMMIT;

-- ----------------------------
-- Table structure for act_hi_attachment
-- ----------------------------
DROP TABLE IF EXISTS `act_hi_attachment`;
CREATE TABLE `act_hi_attachment` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `URL_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CONTENT_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TIME_` datetime(3) DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_hi_comment
-- ----------------------------
DROP TABLE IF EXISTS `act_hi_comment`;
CREATE TABLE `act_hi_comment` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TIME_` datetime(3) NOT NULL,
  `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ACTION_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `MESSAGE_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `FULL_MSG_` longblob,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_hi_detail
-- ----------------------------
DROP TABLE IF EXISTS `act_hi_detail`;
CREATE TABLE `act_hi_detail` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ACT_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `VAR_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REV_` int DEFAULT NULL,
  `TIME_` datetime(3) NOT NULL,
  `BYTEARRAY_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DOUBLE_` double DEFAULT NULL,
  `LONG_` bigint DEFAULT NULL,
  `TEXT_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TEXT2_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_DETAIL_PROC_INST` (`PROC_INST_ID_`),
  KEY `ACT_IDX_HI_DETAIL_ACT_INST` (`ACT_INST_ID_`),
  KEY `ACT_IDX_HI_DETAIL_TIME` (`TIME_`),
  KEY `ACT_IDX_HI_DETAIL_NAME` (`NAME_`),
  KEY `ACT_IDX_HI_DETAIL_TASK_ID` (`TASK_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_hi_entitylink
-- ----------------------------
DROP TABLE IF EXISTS `act_hi_entitylink`;
CREATE TABLE `act_hi_entitylink` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `LINK_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PARENT_ELEMENT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REF_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REF_SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REF_SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ROOT_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ROOT_SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HIERARCHY_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_ENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_HI_ENT_LNK_REF_SCOPE` (`REF_SCOPE_ID_`,`REF_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_HI_ENT_LNK_ROOT_SCOPE` (`ROOT_SCOPE_ID_`,`ROOT_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_HI_ENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_hi_identitylink
-- ----------------------------
DROP TABLE IF EXISTS `act_hi_identitylink`;
CREATE TABLE `act_hi_identitylink` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `GROUP_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_IDENT_LNK_USER` (`USER_ID_`),
  KEY `ACT_IDX_HI_IDENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_IDENT_LNK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_IDENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_IDENT_LNK_TASK` (`TASK_ID_`),
  KEY `ACT_IDX_HI_IDENT_LNK_PROCINST` (`PROC_INST_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_hi_identitylink
-- ----------------------------
BEGIN;
INSERT INTO `act_hi_identitylink` VALUES ('06700dbb-3aab-11ef-86ec-acde48001122', NULL, 'assignee', 'admin', '0669cc2a-3aab-11ef-86ec-acde48001122', '2024-07-05 16:46:09.360', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `act_hi_identitylink` VALUES ('0bdf328f-3aab-11ef-86ec-acde48001122', NULL, 'assignee', 'admin', '0bdf328e-3aab-11ef-86ec-acde48001122', '2024-07-05 16:46:18.477', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `act_hi_identitylink` VALUES ('e1fb51eb-3aaa-11ef-86ec-acde48001122', NULL, 'starter', 'admin', NULL, '2024-07-05 16:45:08.198', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL);
INSERT INTO `act_hi_identitylink` VALUES ('e2014566-3aaa-11ef-86ec-acde48001122', NULL, 'assignee', 'admin', 'e200f745-3aaa-11ef-86ec-acde48001122', '2024-07-05 16:45:08.236', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `act_hi_identitylink` VALUES ('e2014567-3aaa-11ef-86ec-acde48001122', NULL, 'participant', 'admin', NULL, '2024-07-05 16:45:08.236', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL);
INSERT INTO `act_hi_identitylink` VALUES ('e2fd319a-3aaa-11ef-86ec-acde48001122', NULL, 'participant', 'admin', NULL, '2024-07-05 16:45:09.887', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL);
INSERT INTO `act_hi_identitylink` VALUES ('e322e20e-3aaa-11ef-86ec-acde48001122', NULL, 'assignee', 'admin', 'e322e20d-3aaa-11ef-86ec-acde48001122', '2024-07-05 16:45:10.134', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `act_hi_identitylink` VALUES ('f2dcea22-3aaa-11ef-86ec-acde48001122', NULL, 'assignee', 'admin', 'f2dcc311-3aaa-11ef-86ec-acde48001122', '2024-07-05 16:45:36.519', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `act_hi_identitylink` VALUES ('ffef78e7-3aaa-11ef-86ec-acde48001122', NULL, 'assignee', 'admin', 'ffef78e6-3aaa-11ef-86ec-acde48001122', '2024-07-05 16:45:58.451', NULL, NULL, NULL, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for act_hi_procinst
-- ----------------------------
DROP TABLE IF EXISTS `act_hi_procinst`;
CREATE TABLE `act_hi_procinst` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT '1',
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `BUSINESS_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `START_TIME_` datetime(3) NOT NULL,
  `END_TIME_` datetime(3) DEFAULT NULL,
  `DURATION_` bigint DEFAULT NULL,
  `START_USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `START_ACT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `END_ACT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUPER_PROCESS_INSTANCE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CALLBACK_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CALLBACK_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REFERENCE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REFERENCE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `BUSINESS_STATUS_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `PROC_INST_ID_` (`PROC_INST_ID_`),
  KEY `ACT_IDX_HI_PRO_INST_END` (`END_TIME_`),
  KEY `ACT_IDX_HI_PRO_I_BUSKEY` (`BUSINESS_KEY_`),
  KEY `ACT_IDX_HI_PRO_SUPER_PROCINST` (`SUPER_PROCESS_INSTANCE_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_hi_procinst
-- ----------------------------
BEGIN;
INSERT INTO `act_hi_procinst` VALUES ('e1fb2ada-3aaa-11ef-86ec-acde48001122', 1, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '1809146480452177920', 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', '2024-07-05 16:45:08.196', NULL, NULL, 'admin', 'Event_04b3gd5', NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for act_hi_taskinst
-- ----------------------------
DROP TABLE IF EXISTS `act_hi_taskinst`;
CREATE TABLE `act_hi_taskinst` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT '1',
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_DEF_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `STATE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PARENT_TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ASSIGNEE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `START_TIME_` datetime(3) NOT NULL,
  `IN_PROGRESS_TIME_` datetime(3) DEFAULT NULL,
  `IN_PROGRESS_STARTED_BY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CLAIM_TIME_` datetime(3) DEFAULT NULL,
  `CLAIMED_BY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUSPENDED_TIME_` datetime(3) DEFAULT NULL,
  `SUSPENDED_BY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `END_TIME_` datetime(3) DEFAULT NULL,
  `COMPLETED_BY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DURATION_` bigint DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PRIORITY_` int DEFAULT NULL,
  `IN_PROGRESS_DUE_DATE_` datetime(3) DEFAULT NULL,
  `DUE_DATE_` datetime(3) DEFAULT NULL,
  `FORM_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  `LAST_UPDATED_TIME_` datetime(3) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_TASK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_TASK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_TASK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_TASK_INST_PROCINST` (`PROC_INST_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_hi_taskinst
-- ----------------------------
BEGIN;
INSERT INTO `act_hi_taskinst` VALUES ('0669cc2a-3aab-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', NULL, 'Activity_0vjtv0p', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '0669cc28-3aab-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, 'completed', '录入', NULL, NULL, NULL, 'admin', '2024-07-05 16:46:09.319', NULL, NULL, NULL, NULL, NULL, NULL, '2024-07-05 16:46:18.298', NULL, 8979, NULL, 50, NULL, NULL, '{\"formId\":\"1809132635633487872\",\"readOnly\":false,\"groupType\":\"ASSIGNEE\"}', NULL, '', '2024-07-05 16:46:18.298');
INSERT INTO `act_hi_taskinst` VALUES ('0bdf328e-3aab-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', NULL, 'Activity_06g14pf', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '0669cc28-3aab-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, 'created', '审批A', NULL, NULL, NULL, 'admin', '2024-07-05 16:46:18.476', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 50, NULL, NULL, '{\"formId\":\"1809132635633487872\",\"readOnly\":true,\"groupType\":\"ASSIGNEE\"}', NULL, '', '2024-07-05 16:46:18.477');
INSERT INTO `act_hi_taskinst` VALUES ('e200f745-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', NULL, 'Activity_0vjtv0p', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, 'completed', '录入', NULL, NULL, NULL, 'admin', '2024-07-05 16:45:08.207', NULL, NULL, NULL, NULL, NULL, NULL, '2024-07-05 16:45:09.922', NULL, 1715, NULL, 50, NULL, NULL, '{\"formId\":\"1809132635633487872\",\"readOnly\":false,\"groupType\":\"ASSIGNEE\"}', NULL, '', '2024-07-05 16:45:09.922');
INSERT INTO `act_hi_taskinst` VALUES ('e322e20d-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', NULL, 'Activity_06g14pf', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, 'completed', '审批A', NULL, NULL, NULL, 'admin', '2024-07-05 16:45:10.133', NULL, NULL, NULL, NULL, NULL, NULL, '2024-07-05 16:45:36.309', NULL, 26176, NULL, 50, NULL, NULL, '{\"formId\":\"1809132635633487872\",\"readOnly\":true,\"groupType\":\"ASSIGNEE\"}', NULL, '', '2024-07-05 16:45:36.309');
INSERT INTO `act_hi_taskinst` VALUES ('f2dcc311-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', NULL, 'Activity_0dn7u52', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, 'completed', '审批B', NULL, NULL, NULL, 'admin', '2024-07-05 16:45:36.518', NULL, NULL, NULL, NULL, NULL, NULL, '2024-07-05 16:45:58.349', NULL, 21831, 'Change activity to Activity_06g14pf', 50, NULL, NULL, '{\"formId\":\"1809132635633487872\",\"readOnly\":true,\"groupType\":\"ASSIGNEE\"}', NULL, '', '2024-07-05 16:45:58.349');
INSERT INTO `act_hi_taskinst` VALUES ('ffef78e6-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', NULL, 'Activity_06g14pf', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'ffef51d3-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, 'completed', '审批A', NULL, NULL, NULL, 'admin', '2024-07-05 16:45:58.451', NULL, NULL, NULL, NULL, NULL, NULL, '2024-07-05 16:46:09.253', NULL, 10802, 'Change activity to Activity_0vjtv0p', 50, NULL, NULL, '{\"formId\":\"1809132635633487872\",\"readOnly\":true,\"groupType\":\"ASSIGNEE\"}', NULL, '', '2024-07-05 16:46:09.253');
COMMIT;

-- ----------------------------
-- Table structure for act_hi_tsk_log
-- ----------------------------
DROP TABLE IF EXISTS `act_hi_tsk_log`;
CREATE TABLE `act_hi_tsk_log` (
  `ID_` bigint NOT NULL AUTO_INCREMENT,
  `TYPE_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `TIME_STAMP_` timestamp(3) NOT NULL,
  `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DATA_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_hi_varinst
-- ----------------------------
DROP TABLE IF EXISTS `act_hi_varinst`;
CREATE TABLE `act_hi_varinst` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT '1',
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `VAR_TYPE_` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `BYTEARRAY_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DOUBLE_` double DEFAULT NULL,
  `LONG_` bigint DEFAULT NULL,
  `TEXT_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TEXT2_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `META_INFO_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `LAST_UPDATED_TIME_` datetime(3) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_PROCVAR_NAME_TYPE` (`NAME_`,`VAR_TYPE_`),
  KEY `ACT_IDX_HI_VAR_SCOPE_ID_TYPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_VAR_SUB_ID_TYPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_PROCVAR_PROC_INST` (`PROC_INST_ID_`),
  KEY `ACT_IDX_HI_PROCVAR_TASK_ID` (`TASK_ID_`),
  KEY `ACT_IDX_HI_PROCVAR_EXE` (`EXECUTION_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_hi_varinst
-- ----------------------------
BEGIN;
INSERT INTO `act_hi_varinst` VALUES ('e1fb78fc-3aaa-11ef-86ec-acde48001122', 0, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, 'copyDataMap_Activity_0vjtv0p', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '{}', NULL, NULL, '2024-07-05 16:45:08.200', '2024-07-05 16:45:08.200');
INSERT INTO `act_hi_varinst` VALUES ('e1fbc71d-3aaa-11ef-86ec-acde48001122', 0, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, 'startUserName', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL, '2024-07-05 16:45:08.200', '2024-07-05 16:45:08.200');
INSERT INTO `act_hi_varinst` VALUES ('e1fbc71e-3aaa-11ef-86ec-acde48001122', 0, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, 'initiator', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL, '2024-07-05 16:45:08.200', '2024-07-05 16:45:08.200');
INSERT INTO `act_hi_varinst` VALUES ('e1fbc71f-3aaa-11ef-86ec-acde48001122', 0, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, 'copyDataMap_Activity_06g14pf', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '{}', NULL, NULL, '2024-07-05 16:45:08.200', '2024-07-05 16:45:08.200');
INSERT INTO `act_hi_varinst` VALUES ('e1fbc720-3aaa-11ef-86ec-acde48001122', 0, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, 'copyDataMap_Activity_0dn7u52', 'string', NULL, NULL, NULL, NULL, NULL, NULL, '{}', NULL, NULL, '2024-07-05 16:45:08.200', '2024-07-05 16:45:08.200');
INSERT INTO `act_hi_varinst` VALUES ('e2fd0a88-3aaa-11ef-86ec-acde48001122', 2, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, 'submitUser', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL, '2024-07-05 16:45:09.886', '2024-07-05 16:46:18.228');
INSERT INTO `act_hi_varinst` VALUES ('e2fd0a89-3aaa-11ef-86ec-acde48001122', 2, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, 'operationType', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'agree', NULL, NULL, '2024-07-05 16:45:09.886', '2024-07-05 16:46:18.264');
INSERT INTO `act_hi_varinst` VALUES ('ffef51d4-3aaa-11ef-86ec-acde48001122', 0, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'ffef51d3-3aaa-11ef-86ec-acde48001122', NULL, 'appointedAssignee', 'string', NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL, '2024-07-05 16:45:58.451', '2024-07-05 16:45:58.451');
COMMIT;

-- ----------------------------
-- Table structure for act_id_bytearray
-- ----------------------------
DROP TABLE IF EXISTS `act_id_bytearray`;
CREATE TABLE `act_id_bytearray` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `BYTES_` longblob,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_id_group
-- ----------------------------
DROP TABLE IF EXISTS `act_id_group`;
CREATE TABLE `act_id_group` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_id_info
-- ----------------------------
DROP TABLE IF EXISTS `act_id_info`;
CREATE TABLE `act_id_info` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `USER_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `VALUE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PASSWORD_` longblob,
  `PARENT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_id_membership
-- ----------------------------
DROP TABLE IF EXISTS `act_id_membership`;
CREATE TABLE `act_id_membership` (
  `USER_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `GROUP_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  PRIMARY KEY (`USER_ID_`,`GROUP_ID_`),
  KEY `ACT_FK_MEMB_GROUP` (`GROUP_ID_`),
  CONSTRAINT `ACT_FK_MEMB_GROUP` FOREIGN KEY (`GROUP_ID_`) REFERENCES `act_id_group` (`ID_`),
  CONSTRAINT `ACT_FK_MEMB_USER` FOREIGN KEY (`USER_ID_`) REFERENCES `act_id_user` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_id_priv
-- ----------------------------
DROP TABLE IF EXISTS `act_id_priv`;
CREATE TABLE `act_id_priv` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_UNIQ_PRIV_NAME` (`NAME_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_id_priv_mapping
-- ----------------------------
DROP TABLE IF EXISTS `act_id_priv_mapping`;
CREATE TABLE `act_id_priv_mapping` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `PRIV_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `GROUP_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_FK_PRIV_MAPPING` (`PRIV_ID_`),
  KEY `ACT_IDX_PRIV_USER` (`USER_ID_`),
  KEY `ACT_IDX_PRIV_GROUP` (`GROUP_ID_`),
  CONSTRAINT `ACT_FK_PRIV_MAPPING` FOREIGN KEY (`PRIV_ID_`) REFERENCES `act_id_priv` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_id_property
-- ----------------------------
DROP TABLE IF EXISTS `act_id_property`;
CREATE TABLE `act_id_property` (
  `NAME_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `VALUE_` varchar(300) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REV_` int DEFAULT NULL,
  PRIMARY KEY (`NAME_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_id_property
-- ----------------------------
BEGIN;
INSERT INTO `act_id_property` VALUES ('schema.version', '7.0.1.1', 1);
COMMIT;

-- ----------------------------
-- Table structure for act_id_token
-- ----------------------------
DROP TABLE IF EXISTS `act_id_token`;
CREATE TABLE `act_id_token` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `TOKEN_VALUE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TOKEN_DATE_` timestamp(3) NULL DEFAULT NULL,
  `IP_ADDRESS_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `USER_AGENT_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TOKEN_DATA_` varchar(2000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_id_user
-- ----------------------------
DROP TABLE IF EXISTS `act_id_user`;
CREATE TABLE `act_id_user` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `FIRST_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `LAST_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DISPLAY_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EMAIL_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PWD_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PICTURE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_procdef_info
-- ----------------------------
DROP TABLE IF EXISTS `act_procdef_info`;
CREATE TABLE `act_procdef_info` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `INFO_JSON_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_UNIQ_INFO_PROCDEF` (`PROC_DEF_ID_`),
  KEY `ACT_IDX_INFO_PROCDEF` (`PROC_DEF_ID_`),
  KEY `ACT_FK_INFO_JSON_BA` (`INFO_JSON_ID_`),
  CONSTRAINT `ACT_FK_INFO_JSON_BA` FOREIGN KEY (`INFO_JSON_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_INFO_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_re_deployment
-- ----------------------------
DROP TABLE IF EXISTS `act_re_deployment`;
CREATE TABLE `act_re_deployment` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  `DEPLOY_TIME_` timestamp(3) NULL DEFAULT NULL,
  `DERIVED_FROM_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DERIVED_FROM_ROOT_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PARENT_DEPLOYMENT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ENGINE_VERSION_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_re_deployment
-- ----------------------------
BEGIN;
INSERT INTO `act_re_deployment` VALUES ('bcd05b06-3aa9-11ef-86ec-acde48001122', '请假申请', 'TEST', 'flowLeave', NULL, '2024-07-05 16:36:56.343', NULL, NULL, 'bcd05b06-3aa9-11ef-86ec-acde48001122', NULL);
COMMIT;

-- ----------------------------
-- Table structure for act_re_model
-- ----------------------------
DROP TABLE IF EXISTS `act_re_model`;
CREATE TABLE `act_re_model` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LAST_UPDATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `VERSION_` int DEFAULT NULL,
  `META_INFO_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EDITOR_SOURCE_VALUE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EDITOR_SOURCE_EXTRA_VALUE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_FK_MODEL_SOURCE` (`EDITOR_SOURCE_VALUE_ID_`),
  KEY `ACT_FK_MODEL_SOURCE_EXTRA` (`EDITOR_SOURCE_EXTRA_VALUE_ID_`),
  KEY `ACT_FK_MODEL_DEPLOYMENT` (`DEPLOYMENT_ID_`),
  CONSTRAINT `ACT_FK_MODEL_DEPLOYMENT` FOREIGN KEY (`DEPLOYMENT_ID_`) REFERENCES `act_re_deployment` (`ID_`),
  CONSTRAINT `ACT_FK_MODEL_SOURCE` FOREIGN KEY (`EDITOR_SOURCE_VALUE_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_MODEL_SOURCE_EXTRA` FOREIGN KEY (`EDITOR_SOURCE_EXTRA_VALUE_ID_`) REFERENCES `act_ge_bytearray` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_re_procdef
-- ----------------------------
DROP TABLE IF EXISTS `act_re_procdef`;
CREATE TABLE `act_re_procdef` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `VERSION_` int NOT NULL,
  `DEPLOYMENT_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `RESOURCE_NAME_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DGRM_RESOURCE_NAME_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HAS_START_FORM_KEY_` tinyint DEFAULT NULL,
  `HAS_GRAPHICAL_NOTATION_` tinyint DEFAULT NULL,
  `SUSPENSION_STATE_` int DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  `ENGINE_VERSION_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DERIVED_FROM_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DERIVED_FROM_ROOT_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DERIVED_VERSION_` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_UNIQ_PROCDEF` (`KEY_`,`VERSION_`,`DERIVED_VERSION_`,`TENANT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_re_procdef
-- ----------------------------
BEGIN;
INSERT INTO `act_re_procdef` VALUES ('flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 1, 'http://flowable.org/bpmn', '请假申请', 'flowLeave', 1, 'bcd05b06-3aa9-11ef-86ec-acde48001122', 'flowLeave.bpmn', 'flowLeave.flowLeave.png', NULL, 0, 1, 1, '', NULL, NULL, NULL, 0);
COMMIT;

-- ----------------------------
-- Table structure for act_ru_actinst
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_actinst`;
CREATE TABLE `act_ru_actinst` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT '1',
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `ACT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CALL_PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ACT_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ACT_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `ASSIGNEE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `START_TIME_` datetime(3) NOT NULL,
  `END_TIME_` datetime(3) DEFAULT NULL,
  `DURATION_` bigint DEFAULT NULL,
  `TRANSACTION_ORDER_` int DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_RU_ACTI_START` (`START_TIME_`),
  KEY `ACT_IDX_RU_ACTI_END` (`END_TIME_`),
  KEY `ACT_IDX_RU_ACTI_PROC` (`PROC_INST_ID_`),
  KEY `ACT_IDX_RU_ACTI_PROC_ACT` (`PROC_INST_ID_`,`ACT_ID_`),
  KEY `ACT_IDX_RU_ACTI_EXEC` (`EXECUTION_ID_`),
  KEY `ACT_IDX_RU_ACTI_EXEC_ACT` (`EXECUTION_ID_`,`ACT_ID_`),
  KEY `ACT_IDX_RU_ACTI_TASK` (`TASK_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_ru_actinst
-- ----------------------------
BEGIN;
INSERT INTO `act_ru_actinst` VALUES ('0669cc29-3aab-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '0669cc28-3aab-11ef-86ec-acde48001122', 'Activity_0vjtv0p', '0669cc2a-3aab-11ef-86ec-acde48001122', NULL, '录入', 'userTask', 'admin', '2024-07-05 16:46:09.319', '2024-07-05 16:46:18.402', 9083, 1, NULL, '');
INSERT INTO `act_ru_actinst` VALUES ('0bd9662c-3aab-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '0669cc28-3aab-11ef-86ec-acde48001122', 'Flow_1u40dt7', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-07-05 16:46:18.439', '2024-07-05 16:46:18.439', 0, 1, NULL, '');
INSERT INTO `act_ru_actinst` VALUES ('0bdf0b7d-3aab-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '0669cc28-3aab-11ef-86ec-acde48001122', 'Activity_06g14pf', '0bdf328e-3aab-11ef-86ec-acde48001122', NULL, '审批A', 'userTask', 'admin', '2024-07-05 16:46:18.476', NULL, NULL, 2, NULL, '');
INSERT INTO `act_ru_actinst` VALUES ('e1fbee32-3aaa-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Event_04b3gd5', NULL, NULL, NULL, 'startEvent', NULL, '2024-07-05 16:45:08.201', '2024-07-05 16:45:08.205', 4, 1, NULL, '');
INSERT INTO `act_ru_actinst` VALUES ('e1fcd893-3aaa-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Flow_0d86buw', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-07-05 16:45:08.207', '2024-07-05 16:45:08.207', 0, 2, NULL, '');
INSERT INTO `act_ru_actinst` VALUES ('e1fcd894-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Activity_0vjtv0p', 'e200f745-3aaa-11ef-86ec-acde48001122', NULL, '录入', 'userTask', 'admin', '2024-07-05 16:45:08.207', '2024-07-05 16:45:10.069', 1862, 3, NULL, '');
INSERT INTO `act_ru_actinst` VALUES ('e31e4e2b-3aaa-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Flow_1u40dt7', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-07-05 16:45:10.104', '2024-07-05 16:45:10.104', 0, 1, NULL, '');
INSERT INTO `act_ru_actinst` VALUES ('e322bafc-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Activity_06g14pf', 'e322e20d-3aaa-11ef-86ec-acde48001122', NULL, '审批A', 'userTask', 'admin', '2024-07-05 16:45:10.133', '2024-07-05 16:45:36.454', 26321, 2, NULL, '');
INSERT INTO `act_ru_actinst` VALUES ('f2d8563f-3aaa-11ef-86ec-acde48001122', 1, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Flow_05s1j0n', NULL, NULL, NULL, 'sequenceFlow', NULL, '2024-07-05 16:45:36.489', '2024-07-05 16:45:36.489', 0, 1, NULL, '');
INSERT INTO `act_ru_actinst` VALUES ('f2dcc310-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fbee31-3aaa-11ef-86ec-acde48001122', 'Activity_0dn7u52', 'f2dcc311-3aaa-11ef-86ec-acde48001122', NULL, '审批B', 'userTask', 'admin', '2024-07-05 16:45:36.518', '2024-07-05 16:45:58.241', 21723, 2, 'Change activity to Activity_06g14pf', '');
INSERT INTO `act_ru_actinst` VALUES ('ffef78e5-3aaa-11ef-86ec-acde48001122', 2, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'ffef51d3-3aaa-11ef-86ec-acde48001122', 'Activity_06g14pf', 'ffef78e6-3aaa-11ef-86ec-acde48001122', NULL, '审批A', 'userTask', 'admin', '2024-07-05 16:45:58.451', '2024-07-05 16:46:09.095', 10644, 1, 'Change activity to Activity_0vjtv0p', '');
COMMIT;

-- ----------------------------
-- Table structure for act_ru_deadletter_job
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_deadletter_job`;
CREATE TABLE `act_ru_deadletter_job` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  `REPEAT_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_DEADLETTER_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_DEADLETTER_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_DEADLETTER_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_DJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_DJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_DJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_DEADLETTER_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_DEADLETTER_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_DEADLETTER_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `act_ru_execution` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_ru_entitylink
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_entitylink`;
CREATE TABLE `act_ru_entitylink` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `LINK_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PARENT_ELEMENT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REF_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REF_SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REF_SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ROOT_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ROOT_SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HIERARCHY_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_ENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_ENT_LNK_REF_SCOPE` (`REF_SCOPE_ID_`,`REF_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_ENT_LNK_ROOT_SCOPE` (`ROOT_SCOPE_ID_`,`ROOT_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_ENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_ru_event_subscr
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_event_subscr`;
CREATE TABLE `act_ru_event_subscr` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `EVENT_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `EVENT_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ACTIVITY_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CONFIGURATION_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATED_` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `LOCK_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_EVENT_SUBSCR_CONFIG_` (`CONFIGURATION_`),
  KEY `ACT_IDX_EVENT_SUBSCR_SCOPEREF_` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_EVENT_EXEC` (`EXECUTION_ID_`),
  CONSTRAINT `ACT_FK_EVENT_EXEC` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_ru_execution
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_execution`;
CREATE TABLE `act_ru_execution` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `BUSINESS_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PARENT_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUPER_EXEC_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ROOT_PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ACT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `IS_ACTIVE_` tinyint DEFAULT NULL,
  `IS_CONCURRENT_` tinyint DEFAULT NULL,
  `IS_SCOPE_` tinyint DEFAULT NULL,
  `IS_EVENT_SCOPE_` tinyint DEFAULT NULL,
  `IS_MI_ROOT_` tinyint DEFAULT NULL,
  `SUSPENSION_STATE_` int DEFAULT NULL,
  `CACHED_ENT_STATE_` int DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `START_ACT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `START_TIME_` datetime(3) DEFAULT NULL,
  `START_USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `LOCK_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `IS_COUNT_ENABLED_` tinyint DEFAULT NULL,
  `EVT_SUBSCR_COUNT_` int DEFAULT NULL,
  `TASK_COUNT_` int DEFAULT NULL,
  `JOB_COUNT_` int DEFAULT NULL,
  `TIMER_JOB_COUNT_` int DEFAULT NULL,
  `SUSP_JOB_COUNT_` int DEFAULT NULL,
  `DEADLETTER_JOB_COUNT_` int DEFAULT NULL,
  `EXTERNAL_WORKER_JOB_COUNT_` int DEFAULT NULL,
  `VAR_COUNT_` int DEFAULT NULL,
  `ID_LINK_COUNT_` int DEFAULT NULL,
  `CALLBACK_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CALLBACK_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REFERENCE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `REFERENCE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `BUSINESS_STATUS_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_EXEC_BUSKEY` (`BUSINESS_KEY_`),
  KEY `ACT_IDC_EXEC_ROOT` (`ROOT_PROC_INST_ID_`),
  KEY `ACT_IDX_EXEC_REF_ID_` (`REFERENCE_ID_`),
  KEY `ACT_FK_EXE_PROCINST` (`PROC_INST_ID_`),
  KEY `ACT_FK_EXE_PARENT` (`PARENT_ID_`),
  KEY `ACT_FK_EXE_SUPER` (`SUPER_EXEC_`),
  KEY `ACT_FK_EXE_PROCDEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_EXE_PARENT` FOREIGN KEY (`PARENT_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE CASCADE,
  CONSTRAINT `ACT_FK_EXE_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`),
  CONSTRAINT `ACT_FK_EXE_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ACT_FK_EXE_SUPER` FOREIGN KEY (`SUPER_EXEC_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_ru_execution
-- ----------------------------
BEGIN;
INSERT INTO `act_ru_execution` VALUES ('0669cc28-3aab-11ef-86ec-acde48001122', 2, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', NULL, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'Activity_06g14pf', 1, 0, 0, 0, 0, 1, NULL, '', NULL, NULL, '2024-07-05 16:46:09.288', NULL, NULL, NULL, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `act_ru_execution` VALUES ('e1fb2ada-3aaa-11ef-86ec-acde48001122', 1, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '1809146480452177920', NULL, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', NULL, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, 1, 0, 1, 0, 0, 1, NULL, '', NULL, 'Event_04b3gd5', '2024-07-05 16:45:08.196', 'admin', NULL, NULL, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for act_ru_external_job
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_external_job`;
CREATE TABLE `act_ru_external_job` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `RETRIES_` int DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  `REPEAT_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_EXTERNAL_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_EXTERNAL_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_EXTERNAL_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_EJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_EJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_EJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  CONSTRAINT `ACT_FK_EXTERNAL_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_EXTERNAL_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `act_ge_bytearray` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_ru_history_job
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_history_job`;
CREATE TABLE `act_ru_history_job` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `RETRIES_` int DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ADV_HANDLER_CFG_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_ru_identitylink
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_identitylink`;
CREATE TABLE `act_ru_identitylink` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `GROUP_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `USER_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_IDENT_LNK_USER` (`USER_ID_`),
  KEY `ACT_IDX_IDENT_LNK_GROUP` (`GROUP_ID_`),
  KEY `ACT_IDX_IDENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_IDENT_LNK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_IDENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_ATHRZ_PROCEDEF` (`PROC_DEF_ID_`),
  KEY `ACT_FK_TSKASS_TASK` (`TASK_ID_`),
  KEY `ACT_FK_IDL_PROCINST` (`PROC_INST_ID_`),
  CONSTRAINT `ACT_FK_ATHRZ_PROCEDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`),
  CONSTRAINT `ACT_FK_IDL_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`),
  CONSTRAINT `ACT_FK_TSKASS_TASK` FOREIGN KEY (`TASK_ID_`) REFERENCES `act_ru_task` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_ru_identitylink
-- ----------------------------
BEGIN;
INSERT INTO `act_ru_identitylink` VALUES ('e1fb51eb-3aaa-11ef-86ec-acde48001122', 1, NULL, 'starter', 'admin', NULL, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `act_ru_identitylink` VALUES ('e2014567-3aaa-11ef-86ec-acde48001122', 1, NULL, 'participant', 'admin', NULL, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `act_ru_identitylink` VALUES ('e2fd319a-3aaa-11ef-86ec-acde48001122', 1, NULL, 'participant', 'admin', NULL, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for act_ru_job
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_job`;
CREATE TABLE `act_ru_job` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `RETRIES_` int DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  `REPEAT_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_JOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_JOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_JOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `act_ru_execution` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_ru_suspended_job
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_suspended_job`;
CREATE TABLE `act_ru_suspended_job` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `RETRIES_` int DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  `REPEAT_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_SUSPENDED_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_SUSPENDED_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_SUSPENDED_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_SJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_SJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_SJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_SUSPENDED_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_SUSPENDED_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_SUSPENDED_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `act_ru_execution` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_ru_task
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_task`;
CREATE TABLE `act_ru_task` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `STATE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PARENT_TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_DEF_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ASSIGNEE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DELEGATION_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PRIORITY_` int DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `IN_PROGRESS_TIME_` datetime(3) DEFAULT NULL,
  `IN_PROGRESS_STARTED_BY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CLAIM_TIME_` datetime(3) DEFAULT NULL,
  `CLAIMED_BY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUSPENDED_TIME_` datetime(3) DEFAULT NULL,
  `SUSPENDED_BY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `IN_PROGRESS_DUE_DATE_` datetime(3) DEFAULT NULL,
  `DUE_DATE_` datetime(3) DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUSPENSION_STATE_` int DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  `FORM_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `IS_COUNT_ENABLED_` tinyint DEFAULT NULL,
  `VAR_COUNT_` int DEFAULT NULL,
  `ID_LINK_COUNT_` int DEFAULT NULL,
  `SUB_TASK_COUNT_` int DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_TASK_CREATE` (`CREATE_TIME_`),
  KEY `ACT_IDX_TASK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TASK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TASK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_TASK_EXE` (`EXECUTION_ID_`),
  KEY `ACT_FK_TASK_PROCINST` (`PROC_INST_ID_`),
  KEY `ACT_FK_TASK_PROCDEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_TASK_EXE` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`),
  CONSTRAINT `ACT_FK_TASK_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`),
  CONSTRAINT `ACT_FK_TASK_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_ru_task
-- ----------------------------
BEGIN;
INSERT INTO `act_ru_task` VALUES ('0bdf328e-3aab-11ef-86ec-acde48001122', 1, '0669cc28-3aab-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, NULL, 'created', '审批A', NULL, NULL, 'Activity_06g14pf', NULL, 'admin', NULL, 50, '2024-07-05 16:46:18.476', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, '', '{\"formId\":\"1809132635633487872\",\"readOnly\":true,\"groupType\":\"ASSIGNEE\"}', 1, 0, 0, 0);
COMMIT;

-- ----------------------------
-- Table structure for act_ru_timer_job
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_timer_job`;
CREATE TABLE `act_ru_timer_job` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `RETRIES_` int DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  `REPEAT_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_TIMER_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_TIMER_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_TIMER_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_TIMER_JOB_DUEDATE` (`DUEDATE_`),
  KEY `ACT_IDX_TJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_TIMER_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_TIMER_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_TIMER_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `act_ru_execution` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for act_ru_variable
-- ----------------------------
DROP TABLE IF EXISTS `act_ru_variable`;
CREATE TABLE `act_ru_variable` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `EXECUTION_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `BYTEARRAY_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `DOUBLE_` double DEFAULT NULL,
  `LONG_` bigint DEFAULT NULL,
  `TEXT_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TEXT2_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `META_INFO_` varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_RU_VAR_SCOPE_ID_TYPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_RU_VAR_SUB_ID_TYPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_VAR_BYTEARRAY` (`BYTEARRAY_ID_`),
  KEY `ACT_IDX_VARIABLE_TASK_ID` (`TASK_ID_`),
  KEY `ACT_FK_VAR_EXE` (`EXECUTION_ID_`),
  KEY `ACT_FK_VAR_PROCINST` (`PROC_INST_ID_`),
  CONSTRAINT `ACT_FK_VAR_BYTEARRAY` FOREIGN KEY (`BYTEARRAY_ID_`) REFERENCES `act_ge_bytearray` (`ID_`),
  CONSTRAINT `ACT_FK_VAR_EXE` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`),
  CONSTRAINT `ACT_FK_VAR_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Records of act_ru_variable
-- ----------------------------
BEGIN;
INSERT INTO `act_ru_variable` VALUES ('e1fb78fc-3aaa-11ef-86ec-acde48001122', 1, 'string', 'copyDataMap_Activity_0vjtv0p', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '{}', NULL, NULL);
INSERT INTO `act_ru_variable` VALUES ('e1fbc71d-3aaa-11ef-86ec-acde48001122', 1, 'string', 'startUserName', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL);
INSERT INTO `act_ru_variable` VALUES ('e1fbc71e-3aaa-11ef-86ec-acde48001122', 1, 'string', 'initiator', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL);
INSERT INTO `act_ru_variable` VALUES ('e1fbc71f-3aaa-11ef-86ec-acde48001122', 1, 'string', 'copyDataMap_Activity_06g14pf', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '{}', NULL, NULL);
INSERT INTO `act_ru_variable` VALUES ('e1fbc720-3aaa-11ef-86ec-acde48001122', 1, 'string', 'copyDataMap_Activity_0dn7u52', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '{}', NULL, NULL);
INSERT INTO `act_ru_variable` VALUES ('e2fd0a88-3aaa-11ef-86ec-acde48001122', 1, 'string', 'submitUser', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'admin', NULL, NULL);
INSERT INTO `act_ru_variable` VALUES ('e2fd0a89-3aaa-11ef-86ec-acde48001122', 1, 'string', 'operationType', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'agree', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for flw_channel_definition
-- ----------------------------
DROP TABLE IF EXISTS `flw_channel_definition`;
CREATE TABLE `flw_channel_definition` (
  `ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `VERSION_` int DEFAULT NULL,
  `KEY_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `RESOURCE_NAME_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `DESCRIPTION_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `TYPE_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `IMPLEMENTATION_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_IDX_CHANNEL_DEF_UNIQ` (`KEY_`,`VERSION_`,`TENANT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Table structure for flw_ev_databasechangelog
-- ----------------------------
DROP TABLE IF EXISTS `flw_ev_databasechangelog`;
CREATE TABLE `flw_ev_databasechangelog` (
  `ID` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `AUTHOR` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `FILENAME` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `DATEEXECUTED` datetime NOT NULL,
  `ORDEREXECUTED` int NOT NULL,
  `EXECTYPE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `MD5SUM` varchar(35) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `DESCRIPTION` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `COMMENTS` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `TAG` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `LIQUIBASE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `CONTEXTS` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `LABELS` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `DEPLOYMENT_ID` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of flw_ev_databasechangelog
-- ----------------------------
BEGIN;
INSERT INTO `flw_ev_databasechangelog` VALUES ('1', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2024-01-23 14:13:11', 1, 'EXECUTED', '8:1b0c48c9cf7945be799d868a2626d687', 'createTable tableName=FLW_EVENT_DEPLOYMENT; createTable tableName=FLW_EVENT_RESOURCE; createTable tableName=FLW_EVENT_DEFINITION; createIndex indexName=ACT_IDX_EVENT_DEF_UNIQ, tableName=FLW_EVENT_DEFINITION; createTable tableName=FLW_CHANNEL_DEFIN...', '', NULL, '4.20.0', NULL, NULL, '5990391167');
INSERT INTO `flw_ev_databasechangelog` VALUES ('2', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2024-01-23 14:13:11', 2, 'EXECUTED', '8:0ea825feb8e470558f0b5754352b9cda', 'addColumn tableName=FLW_CHANNEL_DEFINITION; addColumn tableName=FLW_CHANNEL_DEFINITION', '', NULL, '4.20.0', NULL, NULL, '5990391167');
INSERT INTO `flw_ev_databasechangelog` VALUES ('3', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2024-01-23 14:13:11', 3, 'EXECUTED', '8:3c2bb293350b5cbe6504331980c9dcee', 'customChange', '', NULL, '4.20.0', NULL, NULL, '5990391167');
COMMIT;

-- ----------------------------
-- Table structure for flw_ev_databasechangeloglock
-- ----------------------------
DROP TABLE IF EXISTS `flw_ev_databasechangeloglock`;
CREATE TABLE `flw_ev_databasechangeloglock` (
  `ID` int NOT NULL,
  `LOCKED` bit(1) NOT NULL,
  `LOCKGRANTED` datetime DEFAULT NULL,
  `LOCKEDBY` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of flw_ev_databasechangeloglock
-- ----------------------------
BEGIN;
INSERT INTO `flw_ev_databasechangeloglock` VALUES (1, b'0', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for flw_event_definition
-- ----------------------------
DROP TABLE IF EXISTS `flw_event_definition`;
CREATE TABLE `flw_event_definition` (
  `ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `VERSION_` int DEFAULT NULL,
  `KEY_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `RESOURCE_NAME_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `DESCRIPTION_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_IDX_EVENT_DEF_UNIQ` (`KEY_`,`VERSION_`,`TENANT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Table structure for flw_event_deployment
-- ----------------------------
DROP TABLE IF EXISTS `flw_event_deployment`;
CREATE TABLE `flw_event_deployment` (
  `ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `CATEGORY_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `DEPLOY_TIME_` datetime(3) DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `PARENT_DEPLOYMENT_ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Table structure for flw_event_resource
-- ----------------------------
DROP TABLE IF EXISTS `flw_event_resource`;
CREATE TABLE `flw_event_resource` (
  `ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `NAME_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `RESOURCE_BYTES_` longblob,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Table structure for flw_ru_batch
-- ----------------------------
DROP TABLE IF EXISTS `flw_ru_batch`;
CREATE TABLE `flw_ru_batch` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `TYPE_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `SEARCH_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SEARCH_KEY2_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) NOT NULL,
  `COMPLETE_TIME_` datetime(3) DEFAULT NULL,
  `STATUS_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `BATCH_DOC_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for flw_ru_batch_part
-- ----------------------------
DROP TABLE IF EXISTS `flw_ru_batch_part`;
CREATE TABLE `flw_ru_batch_part` (
  `ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `BATCH_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TYPE_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `SCOPE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SEARCH_KEY_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `SEARCH_KEY2_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) NOT NULL,
  `COMPLETE_TIME_` datetime(3) DEFAULT NULL,
  `STATUS_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `RESULT_DOC_ID_` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `FLW_IDX_BATCH_PART` (`BATCH_ID_`),
  CONSTRAINT `FLW_FK_BATCH_PART_PARENT` FOREIGN KEY (`BATCH_ID_`) REFERENCES `flw_ru_batch` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for zz_flow_category
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_category`;
CREATE TABLE `zz_flow_category` (
  `category_id` bigint NOT NULL COMMENT '主键Id',
  `tenant_id` bigint DEFAULT NULL COMMENT '租户Id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '显示名称',
  `code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '分类编码',
  `show_order` int NOT NULL COMMENT '实现顺序',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  PRIMARY KEY (`category_id`) USING BTREE,
  KEY `idx_tenant_id` (`tenant_id`) USING BTREE,
  KEY `idx_code` (`code`) USING BTREE,
  KEY `idx_app_code` (`app_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程分类表';

-- ----------------------------
-- Records of zz_flow_category
-- ----------------------------
BEGIN;
INSERT INTO `zz_flow_category` VALUES (1809051198460792832, NULL, NULL, '测试分类', 'TEST', 1, '2024-07-05 10:26:31', 1809038124504846336, '2024-07-05 10:26:31', 1809038124504846336);
COMMIT;

-- ----------------------------
-- Table structure for zz_flow_entry
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_entry`;
CREATE TABLE `zz_flow_entry` (
  `entry_id` bigint NOT NULL COMMENT '主键',
  `tenant_id` bigint DEFAULT NULL COMMENT '租户Id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `process_definition_name` varchar(200) NOT NULL COMMENT '流程名称',
  `process_definition_key` varchar(150) NOT NULL COMMENT '流程标识Key',
  `category_id` bigint NOT NULL COMMENT '流程分类',
  `main_entry_publish_id` bigint DEFAULT NULL COMMENT '工作流部署的发布主版本Id',
  `latest_publish_time` datetime DEFAULT NULL COMMENT '最新发布时间',
  `status` int NOT NULL COMMENT '流程状态',
  `bpmn_xml` longtext COMMENT '流程定义的xml',
  `diagram_type` int NOT NULL COMMENT '流程图类型',
  `bind_form_type` int NOT NULL COMMENT '绑定表单类型',
  `page_id` bigint DEFAULT NULL COMMENT '在线表单的页面Id',
  `default_form_id` bigint DEFAULT NULL COMMENT '在线表单Id',
  `default_router_name` varchar(255) DEFAULT NULL COMMENT '静态表单的缺省路由名称',
  `encoded_rule` varchar(255) DEFAULT NULL COMMENT '工单表编码字段的编码规则',
  `extension_data` varchar(3000) DEFAULT NULL COMMENT '流程的自定义扩展数据',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  PRIMARY KEY (`entry_id`) USING BTREE,
  KEY `idx_process_definition_key` (`process_definition_key`) USING BTREE,
  KEY `idx_app_code` (`app_code`) USING BTREE,
  KEY `idx_category_id` (`category_id`) USING BTREE,
  KEY `idx_tenant_id` (`tenant_id`) USING BTREE,
  KEY `idx_status` (`status`) USING BTREE,
  KEY `idx_process_definition_name` (`process_definition_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='流程管理表';

-- ----------------------------
-- Records of zz_flow_entry
-- ----------------------------
BEGIN;
INSERT INTO `zz_flow_entry` VALUES (1809143991627681792, NULL, NULL, '请假申请', 'flowLeave', 1809051198460792832, 1809144428770627584, '2024-07-05 16:36:59', 1, '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn2:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:bpmn2=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" xmlns:flowable=\"http://flowable.org/bpmn\" id=\"diagram_flowLeave\" targetNamespace=\"http://flowable.org/bpmn\" xsi:schemaLocation=\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\">\n  <bpmn2:process id=\"flowLeave\" name=\"请假申请\" isExecutable=\"true\">\n    <bpmn2:extensionElements>\n      <flowable:properties>\n        <flowable:property name=\"$OrangeDiagramType\" value=\"0\" />\n      </flowable:properties>\n    </bpmn2:extensionElements>\n    <bpmn2:startEvent id=\"Event_04b3gd5\">\n      <bpmn2:outgoing>Flow_0d86buw</bpmn2:outgoing>\n    </bpmn2:startEvent>\n    <bpmn2:sequenceFlow id=\"Flow_0d86buw\" sourceRef=\"Event_04b3gd5\" targetRef=\"Activity_0vjtv0p\" />\n    <bpmn2:sequenceFlow id=\"Flow_1u40dt7\" sourceRef=\"Activity_0vjtv0p\" targetRef=\"Activity_06g14pf\" />\n    <bpmn2:sequenceFlow id=\"Flow_05s1j0n\" sourceRef=\"Activity_06g14pf\" targetRef=\"Activity_0dn7u52\" />\n    <bpmn2:endEvent id=\"Event_0ity5wg\">\n      <bpmn2:incoming>Flow_1bxwcza</bpmn2:incoming>\n    </bpmn2:endEvent>\n    <bpmn2:sequenceFlow id=\"Flow_1bxwcza\" sourceRef=\"Activity_0dn7u52\" targetRef=\"Event_0ity5wg\" />\n    <bpmn2:userTask id=\"Activity_0vjtv0p\" name=\"录入\" flowable:formKey=\"{&#34;formId&#34;:&#34;1809132635633487872&#34;,&#34;readOnly&#34;:false,&#34;groupType&#34;:&#34;ASSIGNEE&#34;}\" flowable:assignee=\"${startUserName}\">\n      <bpmn2:extensionElements>\n        <flowable:variableList />\n        <flowable:copyItemList />\n        <flowable:operationList>\n          <flowable:formOperation id=\"1720168540672\" label=\"同意\" type=\"agree\" showOrder=\"0\" />\n        </flowable:operationList>\n      </bpmn2:extensionElements>\n      <bpmn2:incoming>Flow_0d86buw</bpmn2:incoming>\n      <bpmn2:outgoing>Flow_1u40dt7</bpmn2:outgoing>\n    </bpmn2:userTask>\n    <bpmn2:userTask id=\"Activity_06g14pf\" name=\"审批A\" flowable:formKey=\"{&#34;formId&#34;:&#34;1809132635633487872&#34;,&#34;readOnly&#34;:true,&#34;groupType&#34;:&#34;ASSIGNEE&#34;}\" flowable:assignee=\"admin\">\n      <bpmn2:extensionElements>\n        <flowable:operationList>\n          <flowable:formOperation id=\"1720168555059\" label=\"同意\" type=\"agree\" showOrder=\"0\" />\n          <flowable:formOperation id=\"1720168558485\" label=\"驳回到起点\" type=\"rejectToStart\" showOrder=\"0\" />\n        </flowable:operationList>\n        <flowable:variableList />\n        <flowable:copyItemList />\n      </bpmn2:extensionElements>\n      <bpmn2:incoming>Flow_1u40dt7</bpmn2:incoming>\n      <bpmn2:outgoing>Flow_05s1j0n</bpmn2:outgoing>\n    </bpmn2:userTask>\n    <bpmn2:userTask id=\"Activity_0dn7u52\" name=\"审批B\" flowable:formKey=\"{&#34;formId&#34;:&#34;1809132635633487872&#34;,&#34;readOnly&#34;:true,&#34;groupType&#34;:&#34;ASSIGNEE&#34;}\" flowable:assignee=\"admin\">\n      <bpmn2:extensionElements>\n        <flowable:variableList />\n        <flowable:copyItemList />\n        <flowable:operationList>\n          <flowable:formOperation id=\"1720168573903\" label=\"同意\" type=\"agree\" showOrder=\"0\" />\n          <flowable:formOperation id=\"1720168577495\" label=\"驳回\" type=\"reject\" showOrder=\"0\" />\n        </flowable:operationList>\n      </bpmn2:extensionElements>\n      <bpmn2:incoming>Flow_05s1j0n</bpmn2:incoming>\n      <bpmn2:outgoing>Flow_1bxwcza</bpmn2:outgoing>\n    </bpmn2:userTask>\n  </bpmn2:process>\n  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"flowLeave\">\n      <bpmndi:BPMNEdge id=\"Flow_0d86buw_di\" bpmnElement=\"Flow_0d86buw\">\n        <di:waypoint x=\"218\" y=\"290\" />\n        <di:waypoint x=\"270\" y=\"290\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_1u40dt7_di\" bpmnElement=\"Flow_1u40dt7\">\n        <di:waypoint x=\"370\" y=\"290\" />\n        <di:waypoint x=\"430\" y=\"290\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_05s1j0n_di\" bpmnElement=\"Flow_05s1j0n\">\n        <di:waypoint x=\"530\" y=\"290\" />\n        <di:waypoint x=\"590\" y=\"290\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNEdge id=\"Flow_1bxwcza_di\" bpmnElement=\"Flow_1bxwcza\">\n        <di:waypoint x=\"690\" y=\"290\" />\n        <di:waypoint x=\"752\" y=\"290\" />\n      </bpmndi:BPMNEdge>\n      <bpmndi:BPMNShape id=\"Event_04b3gd5_di\" bpmnElement=\"Event_04b3gd5\">\n        <dc:Bounds x=\"182\" y=\"272\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Event_0ity5wg_di\" bpmnElement=\"Event_0ity5wg\">\n        <dc:Bounds x=\"752\" y=\"272\" width=\"36\" height=\"36\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_1jiy5ns_di\" bpmnElement=\"Activity_0vjtv0p\">\n        <dc:Bounds x=\"270\" y=\"250\" width=\"100\" height=\"80\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_09p6hyk_di\" bpmnElement=\"Activity_06g14pf\">\n        <dc:Bounds x=\"430\" y=\"250\" width=\"100\" height=\"80\" />\n      </bpmndi:BPMNShape>\n      <bpmndi:BPMNShape id=\"Activity_1ai1eph_di\" bpmnElement=\"Activity_0dn7u52\">\n        <dc:Bounds x=\"590\" y=\"250\" width=\"100\" height=\"80\" />\n      </bpmndi:BPMNShape>\n    </bpmndi:BPMNPlane>\n  </bpmndi:BPMNDiagram>\n</bpmn2:definitions>\n', 0, 0, 1809132177523216384, 1809132635633487872, NULL, '{\"middle\":\"DD\",\"idWidth\":5,\"prefix\":\"LL\",\"precisionTo\":\"DAYS\",\"calculateWhenView\":true}', '{\"approvalStatusDict\":[{\"id\":1,\"name\":\"同意\",\"_X_ROW_KEY\":\"row_57\"},{\"id\":2,\"name\":\"拒绝\",\"_X_ROW_KEY\":\"row_58\"},{\"id\":3,\"name\":\"驳回\",\"_X_ROW_KEY\":\"row_59\"},{\"id\":4,\"name\":\"会签同意\",\"_X_ROW_KEY\":\"row_60\"},{\"id\":5,\"name\":\"会签拒绝\",\"_X_ROW_KEY\":\"row_61\"}],\"notifyTypes\":[\"email\"],\"cascadeDeleteBusinessData\":true,\"supportRevive\":false}', '2024-07-05 16:36:39', 1808020007993479168, '2024-07-05 16:35:15', 1808020007993479168);
COMMIT;

-- ----------------------------
-- Table structure for zz_flow_entry_publish
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_entry_publish`;
CREATE TABLE `zz_flow_entry_publish` (
  `entry_publish_id` bigint NOT NULL COMMENT '主键Id',
  `entry_id` bigint NOT NULL COMMENT '流程Id',
  `process_definition_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程引擎的定义Id',
  `deploy_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程引擎的部署Id',
  `publish_version` int NOT NULL COMMENT '发布版本',
  `active_status` bit(1) NOT NULL COMMENT '激活状态',
  `main_version` bit(1) NOT NULL COMMENT '是否为主版本',
  `extension_data` varchar(3000) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '流程的自定义扩展数据',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `publish_time` datetime NOT NULL COMMENT '发布时间',
  `init_task_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '第一个非开始节点任务的附加信息',
  `analyzed_node_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '分析后的节点JSON信息',
  PRIMARY KEY (`entry_publish_id`) USING BTREE,
  UNIQUE KEY `uk_process_definition_id` (`process_definition_id`) USING BTREE,
  KEY `idx_entry_id` (`entry_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程发布表';

-- ----------------------------
-- Records of zz_flow_entry_publish
-- ----------------------------
BEGIN;
INSERT INTO `zz_flow_entry_publish` VALUES (1809144428770627584, 1809143991627681792, 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'bcd05b06-3aa9-11ef-86ec-acde48001122', 1, b'1', b'1', '{\"approvalStatusDict\":[{\"id\":1,\"name\":\"同意\",\"_X_ROW_KEY\":\"row_57\"},{\"id\":2,\"name\":\"拒绝\",\"_X_ROW_KEY\":\"row_58\"},{\"id\":3,\"name\":\"驳回\",\"_X_ROW_KEY\":\"row_59\"},{\"id\":4,\"name\":\"会签同意\",\"_X_ROW_KEY\":\"row_60\"},{\"id\":5,\"name\":\"会签拒绝\",\"_X_ROW_KEY\":\"row_61\"}],\"notifyTypes\":[\"email\"],\"cascadeDeleteBusinessData\":true,\"supportRevive\":false}', 1808020007993479168, '2024-07-05 16:36:59', '{\"assignee\":\"${startUserName}\",\"formId\":1809132635633487872,\"groupType\":\"ASSIGNEE\",\"operationList\":[{\"showOrder\":\"0\",\"id\":\"1720168540672\",\"label\":\"同意\",\"type\":\"agree\"}],\"readOnly\":false,\"taskKey\":\"Activity_0vjtv0p\",\"taskType\":1,\"variableList\":[]}', NULL);
COMMIT;

-- ----------------------------
-- Table structure for zz_flow_entry_publish_variable
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_entry_publish_variable`;
CREATE TABLE `zz_flow_entry_publish_variable` (
  `variable_id` bigint NOT NULL COMMENT '主键Id',
  `entry_publish_id` bigint NOT NULL COMMENT '流程Id',
  `variable_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '变量名',
  `show_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '显示名',
  `variable_type` int NOT NULL COMMENT '变量类型',
  `bind_datasource_id` bigint DEFAULT NULL COMMENT '绑定数据源Id',
  `bind_relation_id` bigint DEFAULT NULL COMMENT '绑定数据源关联Id',
  `bind_column_id` bigint DEFAULT NULL COMMENT '绑定字段Id',
  `builtin` bit(1) NOT NULL COMMENT '是否内置',
  PRIMARY KEY (`variable_id`) USING BTREE,
  KEY `idx_entry_publish_id` (`entry_publish_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程发布变量表';

-- ----------------------------
-- Records of zz_flow_entry_publish_variable
-- ----------------------------
BEGIN;
INSERT INTO `zz_flow_entry_publish_variable` VALUES (1809144430116999168, 1809144428770627584, 'operationType', '审批类型', 1, NULL, NULL, NULL, b'1');
INSERT INTO `zz_flow_entry_publish_variable` VALUES (1809144430116999169, 1809144428770627584, 'startUserName', '流程启动用户', 0, NULL, NULL, NULL, b'1');
COMMIT;

-- ----------------------------
-- Table structure for zz_flow_entry_variable
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_entry_variable`;
CREATE TABLE `zz_flow_entry_variable` (
  `variable_id` bigint NOT NULL COMMENT '主键Id',
  `entry_id` bigint NOT NULL COMMENT '流程Id',
  `variable_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '变量名',
  `show_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '显示名',
  `variable_type` int NOT NULL COMMENT '变量类型',
  `bind_datasource_id` bigint DEFAULT NULL COMMENT '绑定数据源Id',
  `bind_relation_id` bigint DEFAULT NULL COMMENT '绑定数据源关联Id',
  `bind_column_id` bigint DEFAULT NULL COMMENT '绑定字段Id',
  `builtin` bit(1) NOT NULL COMMENT '是否内置',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  PRIMARY KEY (`variable_id`) USING BTREE,
  UNIQUE KEY `uk_entry_id_variable_name` (`entry_id`,`variable_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程变量表';

-- ----------------------------
-- Records of zz_flow_entry_variable
-- ----------------------------
BEGIN;
INSERT INTO `zz_flow_entry_variable` VALUES (1809143992151969793, 1809143991627681792, 'operationType', '审批类型', 1, NULL, NULL, NULL, b'1', '2024-07-05 16:35:15');
INSERT INTO `zz_flow_entry_variable` VALUES (1809143992630120448, 1809143991627681792, 'startUserName', '流程启动用户', 0, NULL, NULL, NULL, b'1', '2024-07-05 16:35:15');
COMMIT;

-- ----------------------------
-- Table structure for zz_flow_message
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_message`;
CREATE TABLE `zz_flow_message` (
  `message_id` bigint NOT NULL COMMENT '主键Id',
  `tenant_id` bigint DEFAULT NULL COMMENT '租户Id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用Id',
  `message_type` tinyint NOT NULL COMMENT '消息类型',
  `message_content` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '消息内容',
  `remind_count` int DEFAULT '0' COMMENT '催办次数',
  `work_order_id` bigint DEFAULT NULL COMMENT '工单Id',
  `process_definition_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程定义Id',
  `process_definition_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程定义标识',
  `process_definition_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程定义名称',
  `process_instance_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '流程实例Id',
  `process_instance_initiator` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '流程实例发起者',
  `task_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '流程任务Id',
  `task_definition_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '流程任务定义标识',
  `task_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '流程任务名称',
  `task_start_time` datetime DEFAULT NULL COMMENT '任务开始时间',
  `task_finished` bit(1) NOT NULL DEFAULT b'0' COMMENT '任务是否已完成',
  `task_assignee` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '任务指派人登录名',
  `business_data_shot` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '业务数据快照',
  `online_form_data` bit(1) DEFAULT NULL COMMENT '是否为在线表单消息数据',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `create_username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '创建者显示名',
  PRIMARY KEY (`message_id`) USING BTREE,
  KEY `idx_tenant_id` (`tenant_id`) USING BTREE,
  KEY `idx_app_code` (`app_code`) USING BTREE,
  KEY `idx_notified_username` (`task_assignee`) USING BTREE,
  KEY `idx_process_instance_id` (`process_instance_id`) USING BTREE,
  KEY `idx_message_type` (`message_type`) USING BTREE,
  KEY `idx_task_id` (`task_id`) USING BTREE,
  KEY `idx_task_finished` (`task_finished`) USING BTREE,
  KEY `idx_update_time` (`update_time`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程消息通知表';

-- ----------------------------
-- Table structure for zz_flow_msg_candidate_identity
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_msg_candidate_identity`;
CREATE TABLE `zz_flow_msg_candidate_identity` (
  `id` bigint NOT NULL COMMENT '主键Id',
  `message_id` bigint NOT NULL COMMENT '流程任务Id',
  `candidate_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '候选身份类型',
  `candidate_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '候选身份Id',
  PRIMARY KEY (`id`),
  KEY `idx_candidate_id` (`candidate_id`) USING BTREE,
  KEY `idx_message_id` (`message_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程消息通知候选人表';

-- ----------------------------
-- Table structure for zz_flow_msg_identity_operation
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_msg_identity_operation`;
CREATE TABLE `zz_flow_msg_identity_operation` (
  `id` bigint NOT NULL COMMENT '主键Id',
  `message_id` bigint NOT NULL COMMENT '流程任务Id',
  `login_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '用户登录名',
  `operation_type` int NOT NULL COMMENT '操作类型',
  `operation_time` datetime NOT NULL COMMENT '操作时间',
  PRIMARY KEY (`id`),
  KEY `idx_message_id` (`message_id`) USING BTREE,
  KEY `idx_login_name` (`login_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程消息候选人操作表';

-- ----------------------------
-- Table structure for zz_flow_multi_instance_trans
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_multi_instance_trans`;
CREATE TABLE `zz_flow_multi_instance_trans` (
  `id` bigint NOT NULL COMMENT '主键Id',
  `process_instance_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程实例Id',
  `task_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '任务Id',
  `task_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '任务标识',
  `multi_instance_exec_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '会签任务的执行Id',
  `execution_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '任务的执行Id',
  `assignee_list` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '会签指派人列表',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `create_login_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '创建者登录名',
  `create_username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '创建者用户名',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_execution_id_task_id` (`execution_id`,`task_id`) USING BTREE,
  KEY `idx_multi_instance_exec_id` (`multi_instance_exec_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程多实例任务审批流水表';

-- ----------------------------
-- Table structure for zz_flow_task_comment
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_task_comment`;
CREATE TABLE `zz_flow_task_comment` (
  `id` bigint NOT NULL COMMENT '主键Id',
  `process_instance_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程实例Id',
  `task_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '任务Id',
  `task_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '任务标识',
  `task_name` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '任务名称',
  `target_task_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '目标任务标识',
  `execution_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '任务的执行Id',
  `multi_instance_exec_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会签任务的执行Id',
  `approval_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '审批类型',
  `task_comment` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '批注内容',
  `delegate_assignee` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '委托指定人，比如加签、转办等',
  `custom_business_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '自定义数据。开发者可自行扩展，推荐使用JSON格式数据',
  `head_image_url` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '审批用户头像',
  `create_user_id` bigint DEFAULT NULL COMMENT '创建者Id',
  `create_login_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '创建者登录名',
  `create_username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '创建者用户名',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_multi_instance_exec_id` (`multi_instance_exec_id`) USING BTREE,
  KEY `idx_process_instance_id` (`process_instance_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程任务审批表';

-- ----------------------------
-- Records of zz_flow_task_comment
-- ----------------------------
BEGIN;
INSERT INTO `zz_flow_task_comment` VALUES (1809146487481831424, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e200f745-3aaa-11ef-86ec-acde48001122', 'Activity_0vjtv0p', '录入', NULL, 'e1fbee31-3aaa-11ef-86ec-acde48001122', NULL, 'agree', NULL, NULL, NULL, NULL, 1808020007993479168, 'admin', '管理员', '2024-07-05 16:45:10');
INSERT INTO `zz_flow_task_comment` VALUES (1809146598064656384, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'e322e20d-3aaa-11ef-86ec-acde48001122', 'Activity_06g14pf', '审批A', NULL, 'e1fbee31-3aaa-11ef-86ec-acde48001122', NULL, 'agree', '11', NULL, NULL, NULL, 1808020007993479168, 'admin', '管理员', '2024-07-05 16:45:36');
INSERT INTO `zz_flow_task_comment` VALUES (1809146699361292288, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'f2dcc311-3aaa-11ef-86ec-acde48001122', 'Activity_0dn7u52', '审批B', NULL, NULL, NULL, 'reject', '11', NULL, NULL, NULL, 1808020007993479168, 'admin', '管理员', '2024-07-05 16:46:00');
INSERT INTO `zz_flow_task_comment` VALUES (1809146743762194432, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 'ffef78e6-3aaa-11ef-86ec-acde48001122', 'Activity_06g14pf', '审批A', NULL, NULL, NULL, 'reject', '33', NULL, NULL, NULL, 1808020007993479168, 'admin', '管理员', '2024-07-05 16:46:11');
INSERT INTO `zz_flow_task_comment` VALUES (1809146774330281984, 'e1fb2ada-3aaa-11ef-86ec-acde48001122', '0669cc2a-3aab-11ef-86ec-acde48001122', 'Activity_0vjtv0p', '录入', NULL, '0669cc28-3aab-11ef-86ec-acde48001122', NULL, 'agree', '44', NULL, NULL, NULL, 1808020007993479168, 'admin', '管理员', '2024-07-05 16:46:18');
COMMIT;

-- ----------------------------
-- Table structure for zz_flow_task_ext
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_task_ext`;
CREATE TABLE `zz_flow_task_ext` (
  `process_definition_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程引擎的定义Id',
  `task_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程引擎任务Id',
  `operation_list_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '操作列表JSON',
  `variable_list_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '变量列表JSON',
  `assignee_list_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '存储多实例的assigneeList的JSON',
  `group_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '分组类型',
  `dept_post_list_json` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '保存岗位相关的数据',
  `role_ids` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '保存角色Id数据',
  `dept_ids` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '保存部门Id数据',
  `candidate_usernames` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '保存候选组用户名数据',
  `copy_list_json` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '抄送相关的数据',
  `extra_data_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '用户任务的扩展属性，存储为JSON的字符串格式',
  PRIMARY KEY (`process_definition_id`,`task_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程流程图任务扩展表';

-- ----------------------------
-- Records of zz_flow_task_ext
-- ----------------------------
BEGIN;
INSERT INTO `zz_flow_task_ext` VALUES ('flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'Activity_06g14pf', '[{\"showOrder\":\"0\",\"id\":\"1720168555059\",\"label\":\"同意\",\"type\":\"agree\"},{\"showOrder\":\"0\",\"id\":\"1720168558485\",\"label\":\"驳回到起点\",\"type\":\"rejectToStart\"}]', NULL, NULL, 'ASSIGNEE', '[]', NULL, NULL, NULL, '[]', '{\"flowNotifyTypeList\":[\"email\"]}');
INSERT INTO `zz_flow_task_ext` VALUES ('flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'Activity_0dn7u52', '[{\"showOrder\":\"0\",\"id\":\"1720168573903\",\"label\":\"同意\",\"type\":\"agree\"},{\"showOrder\":\"0\",\"id\":\"1720168577495\",\"label\":\"驳回\",\"type\":\"reject\"}]', NULL, NULL, 'ASSIGNEE', '[]', NULL, NULL, NULL, '[]', '{\"flowNotifyTypeList\":[\"email\"]}');
INSERT INTO `zz_flow_task_ext` VALUES ('flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'Activity_0vjtv0p', '[{\"showOrder\":\"0\",\"id\":\"1720168540672\",\"label\":\"同意\",\"type\":\"agree\"}]', NULL, NULL, 'ASSIGNEE', '[]', NULL, NULL, NULL, '[]', '{\"flowNotifyTypeList\":[\"email\"]}');
COMMIT;

-- ----------------------------
-- Table structure for zz_flow_work_order
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_work_order`;
CREATE TABLE `zz_flow_work_order` (
  `work_order_id` bigint NOT NULL COMMENT '主键Id',
  `tenant_id` bigint DEFAULT NULL COMMENT '租户Id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `work_order_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '工单编码字段',
  `process_definition_key` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程定义标识',
  `process_definition_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '流程名称',
  `process_definition_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程引擎的定义Id',
  `process_instance_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '流程实例Id',
  `online_table_id` bigint DEFAULT NULL COMMENT '在线表单的主表Id',
  `table_name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '用于静态表单的表名',
  `business_key` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '业务主键值',
  `task_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '未完成的任务Id',
  `task_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '未完成的任务名称',
  `task_definition_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '未完成的任务标识',
  `latest_approval_status` int DEFAULT NULL COMMENT '最近的审批状态',
  `flow_status` int NOT NULL DEFAULT '0' COMMENT '流程状态',
  `submit_username` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '提交用户登录名称',
  `dept_id` bigint NOT NULL COMMENT '提交用户所在部门Id',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `deleted_flag` int NOT NULL COMMENT '删除标记(1: 正常 -1: 已删除)',
  PRIMARY KEY (`work_order_id`) USING BTREE,
  UNIQUE KEY `uk_process_instance_id` (`process_instance_id`) USING BTREE,
  UNIQUE KEY `uk_work_order_code` (`work_order_code`) USING BTREE,
  KEY `idx_tenant_id` (`tenant_id`) USING BTREE,
  KEY `idx_app_code` (`app_code`) USING BTREE,
  KEY `idx_process_definition_key` (`process_definition_key`) USING BTREE,
  KEY `idx_create_user_id` (`create_user_id`) USING BTREE,
  KEY `idx_create_time` (`create_time`) USING BTREE,
  KEY `idx_dept_id` (`dept_id`) USING BTREE,
  KEY `idx_table_name` (`table_name`) USING BTREE,
  KEY `idx_business_key` (`business_key`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程工单表';

-- ----------------------------
-- Records of zz_flow_work_order
-- ----------------------------
BEGIN;
INSERT INTO `zz_flow_work_order` VALUES (1809146486244511744, NULL, NULL, 'LL20240705DD00001', 'flowLeave', '请假申请', 'flowLeave:1:be0642f9-3aa9-11ef-86ec-acde48001122', 'e1fb2ada-3aaa-11ef-86ec-acde48001122', 1809132251556876288, NULL, '1809146480452177920', NULL, NULL, NULL, NULL, 1, 'admin', 1808020008341606402, '2024-07-05 16:46:18', 1808020007993479168, '2024-07-05 16:45:09', 1808020007993479168, 1);
COMMIT;

-- ----------------------------
-- Table structure for zz_flow_work_order_ext
-- ----------------------------
DROP TABLE IF EXISTS `zz_flow_work_order_ext`;
CREATE TABLE `zz_flow_work_order_ext` (
  `id` bigint NOT NULL COMMENT '主键Id',
  `work_order_id` bigint NOT NULL COMMENT '工单Id',
  `draft_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '草稿数据',
  `business_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '业务数据',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `deleted_flag` int NOT NULL COMMENT '删除标记(1: 正常 -1: 已删除)',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_work_order_id` (`work_order_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='流程工单扩展表';

-- ----------------------------
-- Table structure for zz_global_dict
-- ----------------------------
DROP TABLE IF EXISTS `zz_global_dict`;
CREATE TABLE `zz_global_dict` (
  `dict_id` bigint NOT NULL COMMENT '主键Id',
  `dict_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '字典编码',
  `dict_name` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '字典中文名称',
  `create_user_id` bigint NOT NULL COMMENT '创建用户Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_user_id` bigint NOT NULL COMMENT '更新用户名',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `deleted_flag` int NOT NULL COMMENT '逻辑删除字段',
  PRIMARY KEY (`dict_id`),
  KEY `idx_dict_code` (`dict_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='全局字典表';

-- ----------------------------
-- Table structure for zz_global_dict_item
-- ----------------------------
DROP TABLE IF EXISTS `zz_global_dict_item`;
CREATE TABLE `zz_global_dict_item` (
  `id` bigint NOT NULL COMMENT '主键Id',
  `dict_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '字典编码',
  `item_id` varchar(64) COLLATE utf8mb4_bin NOT NULL COMMENT '字典数据项Id',
  `item_name` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '字典数据项名称',
  `show_order` int NOT NULL COMMENT '显示顺序',
  `status` int NOT NULL COMMENT '字典状态',
  `create_user_id` bigint NOT NULL COMMENT '创建用户Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_user_id` bigint NOT NULL COMMENT '更新用户名',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `deleted_flag` int NOT NULL COMMENT '逻辑删除字段',
  PRIMARY KEY (`id`),
  KEY `idx_show_order` (`show_order`) USING BTREE,
  KEY `idx_dict_code_item_id` (`dict_code`,`item_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='全局字典项目表';

-- ----------------------------
-- Table structure for zz_online_column
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_column`;
CREATE TABLE `zz_online_column` (
  `column_id` bigint NOT NULL COMMENT '主键Id',
  `column_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '字段名',
  `table_id` bigint NOT NULL COMMENT '数据表Id',
  `column_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '数据表中的字段类型',
  `full_column_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '数据表中的完整字段类型(包括了精度和刻度)',
  `primary_key` bit(1) NOT NULL COMMENT '是否为主键',
  `auto_incr` bit(1) NOT NULL COMMENT '是否是自增主键(0: 不是 1: 是)',
  `nullable` bit(1) NOT NULL COMMENT '是否可以为空 (0: 不可以为空 1: 可以为空)',
  `column_default` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '缺省值',
  `column_show_order` int NOT NULL COMMENT '字段在数据表中的显示位置',
  `column_comment` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '数据表中的字段注释',
  `object_field_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '对象映射字段名称',
  `object_field_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '对象映射字段类型',
  `numeric_precision` int DEFAULT NULL COMMENT '数值型字段的精度',
  `numeric_scale` int DEFAULT NULL COMMENT '数值型字段的刻度',
  `filter_type` int NOT NULL DEFAULT '1' COMMENT '字段过滤类型',
  `parent_key` bit(1) NOT NULL COMMENT '是否是主键的父Id',
  `dept_filter` bit(1) NOT NULL COMMENT '是否部门过滤字段',
  `user_filter` bit(1) NOT NULL COMMENT '是否用户过滤字段',
  `field_kind` int DEFAULT NULL COMMENT '字段类别',
  `max_file_count` int DEFAULT NULL COMMENT '包含的文件文件数量，0表示无限制',
  `upload_file_system_type` int DEFAULT '0' COMMENT '上传文件系统类型',
  `encoded_rule` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '编码规则的JSON格式数据',
  `mask_field_type` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '脱敏字段类型',
  `dict_id` bigint DEFAULT NULL COMMENT '字典Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者',
  PRIMARY KEY (`column_id`),
  KEY `idx_table_id` (`table_id`) USING BTREE,
  KEY `idx_dict_id` (`dict_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单字段表';

-- ----------------------------
-- Records of zz_online_column
-- ----------------------------
BEGIN;
INSERT INTO `zz_online_column` VALUES (1809132252005666816, 'id', 1809132251556876288, 'bigint', 'bigint', b'1', b'0', b'0', NULL, 1, '主键Id', 'id', 'Long', 19, NULL, 0, b'0', b'0', b'0', NULL, NULL, 0, NULL, NULL, NULL, '2024-07-05 15:48:36', 1808020007993479168, '2024-07-05 15:48:36', 1808020007993479168);
INSERT INTO `zz_online_column` VALUES (1809132252425097216, 'user_id', 1809132251556876288, 'bigint', 'bigint', b'0', b'0', b'0', NULL, 2, '请假用户', 'userId', 'Long', 19, NULL, 0, b'0', b'0', b'0', 21, NULL, 0, NULL, NULL, NULL, '2024-07-05 15:48:36', 1808020007993479168, '2024-07-05 15:48:47', 1808020007993479168);
INSERT INTO `zz_online_column` VALUES (1809132252852916224, 'leave_reason', 1809132251556876288, 'varchar', 'varchar(512)', b'0', b'0', b'0', NULL, 3, '请假原因', 'leaveReason', 'String', NULL, NULL, 0, b'0', b'0', b'0', NULL, NULL, 0, NULL, NULL, NULL, '2024-07-05 15:48:36', 1808020007993479168, '2024-07-05 15:53:47', 1808020007993479168);
INSERT INTO `zz_online_column` VALUES (1809132253377204224, 'leave_type', 1809132251556876288, 'int', 'int', b'0', b'0', b'0', NULL, 4, '请假类型', 'leaveType', 'Integer', 10, NULL, 0, b'0', b'0', b'0', NULL, NULL, 0, NULL, NULL, NULL, '2024-07-05 15:48:36', 1808020007993479168, '2024-07-05 15:53:44', 1808020007993479168);
INSERT INTO `zz_online_column` VALUES (1809132253733720064, 'leave_begin_time', 1809132251556876288, 'datetime', 'datetime', b'0', b'0', b'0', NULL, 5, '开始时间', 'leaveBeginTime', 'Date', NULL, NULL, 0, b'0', b'0', b'0', NULL, NULL, 0, NULL, NULL, NULL, '2024-07-05 15:48:36', 1808020007993479168, '2024-07-05 15:53:50', 1808020007993479168);
INSERT INTO `zz_online_column` VALUES (1809132254102818816, 'leave_end_time', 1809132251556876288, 'datetime', 'datetime', b'0', b'0', b'0', NULL, 6, '结束时间', 'leaveEndTime', 'Date', NULL, NULL, 0, b'0', b'0', b'0', NULL, NULL, 0, NULL, NULL, NULL, '2024-07-05 15:48:36', 1808020007993479168, '2024-07-05 15:53:54', 1808020007993479168);
INSERT INTO `zz_online_column` VALUES (1809132254388031488, 'apply_time', 1809132251556876288, 'datetime', 'datetime', b'0', b'0', b'0', NULL, 7, '申请时间', 'applyTime', 'Date', NULL, NULL, 0, b'0', b'0', b'0', 20, NULL, 0, NULL, NULL, NULL, '2024-07-05 15:48:36', 1808020007993479168, '2024-07-05 15:53:57', 1808020007993479168);
INSERT INTO `zz_online_column` VALUES (1809132254782296064, 'approval_status', 1809132251556876288, 'int', 'int', b'0', b'0', b'1', NULL, 8, '最后审批状态', 'approvalStatus', 'Integer', 10, NULL, 0, b'0', b'0', b'0', 26, NULL, 0, NULL, NULL, NULL, '2024-07-05 15:48:36', 1808020007993479168, '2024-07-05 15:53:59', 1808020007993479168);
INSERT INTO `zz_online_column` VALUES (1809132255327555584, 'flow_status', 1809132251556876288, 'int', 'int', b'0', b'0', b'1', NULL, 9, '流程状态', 'flowStatus', 'Integer', 10, NULL, 0, b'0', b'0', b'0', 25, NULL, 0, NULL, NULL, NULL, '2024-07-05 15:48:36', 1808020007993479168, '2024-07-05 15:49:44', 1808020007993479168);
INSERT INTO `zz_online_column` VALUES (1809132255679877120, 'username', 1809132251556876288, 'varchar', 'varchar(255)', b'0', b'0', b'1', NULL, 10, '用户名', 'username', 'String', NULL, NULL, 0, b'0', b'0', b'0', NULL, NULL, 0, NULL, NULL, NULL, '2024-07-05 15:48:36', 1808020007993479168, '2024-07-05 15:49:49', 1808020007993479168);
COMMIT;

-- ----------------------------
-- Table structure for zz_online_column_rule
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_column_rule`;
CREATE TABLE `zz_online_column_rule` (
  `column_id` bigint NOT NULL COMMENT '字段Id',
  `rule_id` bigint NOT NULL COMMENT '规则Id',
  `prop_data_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '规则属性数据',
  PRIMARY KEY (`column_id`,`rule_id`) USING BTREE,
  KEY `idx_rule_id` (`rule_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单字段和字段规则关联中间表';

-- ----------------------------
-- Table structure for zz_online_datasource
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_datasource`;
CREATE TABLE `zz_online_datasource` (
  `datasource_id` bigint NOT NULL COMMENT '主键Id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `datasource_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '数据源名称',
  `variable_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '数据源变量名',
  `dblink_id` bigint NOT NULL COMMENT '数据库链接Id',
  `master_table_id` bigint NOT NULL COMMENT '主表Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者',
  PRIMARY KEY (`datasource_id`),
  UNIQUE KEY `uk_app_code_variable_name` (`app_code`,`variable_name`) USING BTREE,
  KEY `idx_master_table_id` (`master_table_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单数据源表';

-- ----------------------------
-- Records of zz_online_datasource
-- ----------------------------
BEGIN;
INSERT INTO `zz_online_datasource` VALUES (1809132255981867008, NULL, '请假申请', 'dsLeave', 1809055300360081408, 1809132251556876288, '2024-07-05 15:48:37', 1808020007993479168, '2024-07-05 15:48:37', 1808020007993479168);
COMMIT;

-- ----------------------------
-- Table structure for zz_online_datasource_relation
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_datasource_relation`;
CREATE TABLE `zz_online_datasource_relation` (
  `relation_id` bigint NOT NULL COMMENT '主键Id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `relation_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '关联名称',
  `variable_name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '变量名',
  `datasource_id` bigint NOT NULL COMMENT '主数据源Id',
  `relation_type` int NOT NULL COMMENT '关联类型',
  `master_column_id` bigint NOT NULL COMMENT '主表关联字段Id',
  `slave_table_id` bigint NOT NULL COMMENT '从表Id',
  `slave_column_id` bigint NOT NULL COMMENT '从表关联字段Id',
  `cascade_delete` bit(1) NOT NULL COMMENT '删除主表的时候是否级联删除一对一和一对多的从表数据，多对多只是删除关联，不受到这个标记的影响。',
  `left_join` bit(1) NOT NULL COMMENT '是否左连接',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者',
  PRIMARY KEY (`relation_id`) USING BTREE,
  UNIQUE KEY `uk_datasource_id_variable_name` (`datasource_id`,`variable_name`) USING BTREE,
  KEY `idx_app_code` (`app_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单数据源关联表';

-- ----------------------------
-- Table structure for zz_online_datasource_table
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_datasource_table`;
CREATE TABLE `zz_online_datasource_table` (
  `id` bigint NOT NULL COMMENT '主键Id',
  `datasource_id` bigint NOT NULL COMMENT '数据源Id',
  `relation_id` bigint DEFAULT NULL COMMENT '数据源关联Id',
  `table_id` bigint NOT NULL COMMENT '数据表Id',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_relation_id` (`relation_id`) USING BTREE,
  KEY `idx_datasource_id` (`datasource_id`) USING BTREE,
  KEY `idx_table_id` (`table_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单数据源和数据表关联的中间表';

-- ----------------------------
-- Records of zz_online_datasource_table
-- ----------------------------
BEGIN;
INSERT INTO `zz_online_datasource_table` VALUES (1809132256292245504, 1809132255981867008, NULL, 1809132251556876288);
COMMIT;

-- ----------------------------
-- Table structure for zz_online_dblink
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_dblink`;
CREATE TABLE `zz_online_dblink` (
  `dblink_id` bigint NOT NULL COMMENT '主键Id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `dblink_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '链接中文名称',
  `dblink_description` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '链接描述',
  `dblink_type` int NOT NULL COMMENT '数据源类型',
  `configuration` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '配置信息',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者',
  PRIMARY KEY (`dblink_id`),
  KEY `idx_dblink_type` (`dblink_type`) USING BTREE,
  KEY `idx_app_code` (`app_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单数据库链接表';

-- ----------------------------
-- Records of zz_online_dblink
-- ----------------------------
BEGIN;
INSERT INTO `zz_online_dblink` VALUES (1809055300360081408, NULL, 'mysql-test', NULL, 0, '{\"sid\":true,\"initialPoolSize\":5,\"minPoolSize\":5,\"maxPoolSize\":50,\"host\":\"localhost\",\"port\":3306,\"database\":\"zzdemo-online-open\",\"username\":\"root\",\"password\":\"123456\"}', '2024-07-05 10:42:49', 1809038124504846336, '2024-07-05 10:42:49', 1809038124504846336);
COMMIT;

-- ----------------------------
-- Table structure for zz_online_dict
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_dict`;
CREATE TABLE `zz_online_dict` (
  `dict_id` bigint NOT NULL COMMENT '主键Id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `dict_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '字典名称',
  `dict_type` int NOT NULL COMMENT '字典类型',
  `dblink_id` bigint DEFAULT NULL COMMENT '数据库链接Id',
  `table_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '字典表名称',
  `dict_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '全局字典编码',
  `key_column_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '字典表键字段名称',
  `parent_key_column_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '字典表父键字段名称',
  `value_column_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '字典值字段名称',
  `deleted_column_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '逻辑删除字段',
  `user_filter_column_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '用户过滤滤字段名称',
  `dept_filter_column_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '部门过滤滤字段名称',
  `tenant_filter_column_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '租户过滤字段名称',
  `tree_flag` bit(1) NOT NULL COMMENT '是否树形标记',
  `dict_list_url` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '获取字典列表数据的url',
  `dict_ids_url` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '根据主键id批量获取字典数据的url',
  `dict_data_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '字典的JSON数据',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者',
  PRIMARY KEY (`dict_id`) USING BTREE,
  KEY `idx_app_code` (`app_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单字典表';

-- ----------------------------
-- Table structure for zz_online_form
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_form`;
CREATE TABLE `zz_online_form` (
  `form_id` bigint NOT NULL COMMENT '主键Id',
  `tenant_id` bigint DEFAULT NULL COMMENT '租户id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `page_id` bigint NOT NULL COMMENT '页面id',
  `form_code` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '表单编码',
  `form_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '表单名称',
  `form_kind` int NOT NULL COMMENT '表单类别',
  `form_type` int NOT NULL COMMENT '表单类型',
  `master_table_id` bigint NOT NULL COMMENT '表单主表id',
  `widget_json` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '表单组件JSON',
  `params_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '表单参数JSON',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者',
  PRIMARY KEY (`form_id`) USING BTREE,
  UNIQUE KEY `uk_page_id_form_code` (`page_id`,`form_code`) USING BTREE,
  KEY `idx_tenant_id` (`tenant_id`) USING BTREE,
  KEY `idx_app_code` (`app_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单表单表';

-- ----------------------------
-- Records of zz_online_form
-- ----------------------------
BEGIN;
INSERT INTO `zz_online_form` VALUES (1809132635633487872, NULL, NULL, 1809132177523216384, 'formFlowLeave', '请假申请', 5, 10, 1809132251556876288, '{\"pc\":{\"gutter\":20,\"labelWidth\":100,\"labelPosition\":\"right\",\"operationList\":[],\"customFieldList\":[],\"widgetList\":[{\"widgetType\":3,\"bindData\":{\"defaultValue\":{},\"tableId\":\"1809132251556876288\",\"columnId\":\"1809132253377204224\",\"dataType\":0},\"showName\":\"请假类型\",\"variableName\":\"leaveType\",\"props\":{\"span\":24,\"placeholder\":\"\",\"step\":1,\"controls\":true,\"required\":true,\"disabled\":false,\"dictInfo\":{\"paramList\":[]},\"actions\":{}},\"eventList\":[],\"childWidgetList\":[],\"style\":{}},{\"widgetType\":1,\"bindData\":{\"defaultValue\":{},\"tableId\":\"1809132251556876288\",\"columnId\":\"1809132252852916224\",\"dataType\":0},\"showName\":\"请假原因\",\"variableName\":\"leaveReason\",\"props\":{\"span\":24,\"type\":\"text\",\"placeholder\":\"\",\"show-password\":false,\"show-word-limit\":false,\"required\":true,\"disabled\":false,\"dictInfo\":{\"paramList\":[]},\"actions\":{}},\"eventList\":[],\"childWidgetList\":[],\"style\":{}},{\"widgetType\":20,\"bindData\":{\"defaultValue\":{},\"tableId\":\"1809132251556876288\",\"columnId\":\"1809132253733720064\",\"dataType\":0},\"showName\":\"开始时间\",\"variableName\":\"leaveBeginTime\",\"props\":{\"span\":12,\"placeholder\":\"\",\"type\":\"date\",\"required\":true,\"disabled\":false,\"dictInfo\":{\"paramList\":[]},\"actions\":{}},\"eventList\":[],\"childWidgetList\":[],\"style\":{},\"supportOperation\":false},{\"widgetType\":20,\"bindData\":{\"defaultValue\":{},\"tableId\":\"1809132251556876288\",\"columnId\":\"1809132254102818816\",\"dataType\":0},\"showName\":\"结束时间\",\"variableName\":\"leaveEndTime\",\"props\":{\"span\":12,\"placeholder\":\"\",\"type\":\"date\",\"required\":true,\"disabled\":false,\"dictInfo\":{\"paramList\":[]},\"actions\":{}},\"eventList\":[],\"childWidgetList\":[],\"style\":{},\"supportOperation\":false}],\"formEventList\":[],\"maskFieldList\":[],\"width\":800,\"fullscreen\":true}}', NULL, '2024-07-05 15:50:07', 1808020007993479168, '2024-07-05 16:34:21', 1808020007993479168);
COMMIT;

-- ----------------------------
-- Table structure for zz_online_form_datasource
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_form_datasource`;
CREATE TABLE `zz_online_form_datasource` (
  `id` bigint NOT NULL COMMENT '主键Id',
  `form_id` bigint NOT NULL COMMENT '表单Id',
  `datasource_id` bigint NOT NULL COMMENT '数据源Id',
  PRIMARY KEY (`id`),
  KEY `idx_form_id` (`form_id`) USING BTREE,
  KEY `idx_datasource_id` (`datasource_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单表单和数据源关联中间表';

-- ----------------------------
-- Records of zz_online_form_datasource
-- ----------------------------
BEGIN;
INSERT INTO `zz_online_form_datasource` VALUES (1809143766578106368, 1809132635633487872, 1809132255981867008);
COMMIT;

-- ----------------------------
-- Table structure for zz_online_page
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_page`;
CREATE TABLE `zz_online_page` (
  `page_id` bigint NOT NULL COMMENT '主键Id',
  `tenant_id` bigint DEFAULT NULL COMMENT '租户id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `page_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '页面编码',
  `page_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '页面名称',
  `page_type` int NOT NULL COMMENT '页面类型',
  `status` int NOT NULL COMMENT '页面编辑状态',
  `published` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否发布',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者',
  PRIMARY KEY (`page_id`) USING BTREE,
  KEY `idx_tenant_id` (`tenant_id`) USING BTREE,
  KEY `idx_app_code` (`app_code`) USING BTREE,
  KEY `idx_page_code` (`page_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单页面表';

-- ----------------------------
-- Records of zz_online_page
-- ----------------------------
BEGIN;
INSERT INTO `zz_online_page` VALUES (1809132177523216384, NULL, NULL, 'flowLeave', '请假申请', 10, 2, b'1', '2024-07-05 15:48:18', 1808020007993479168, '2024-07-05 16:34:27', 1808020007993479168);
COMMIT;

-- ----------------------------
-- Table structure for zz_online_page_datasource
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_page_datasource`;
CREATE TABLE `zz_online_page_datasource` (
  `id` bigint NOT NULL COMMENT '主键Id',
  `page_id` bigint NOT NULL COMMENT '页面主键Id',
  `datasource_id` bigint NOT NULL COMMENT '数据源主键Id',
  PRIMARY KEY (`id`),
  KEY `idx_page_id` (`page_id`) USING BTREE,
  KEY `idx_datasource_id` (`datasource_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单页面和数据源关联中间表';

-- ----------------------------
-- Records of zz_online_page_datasource
-- ----------------------------
BEGIN;
INSERT INTO `zz_online_page_datasource` VALUES (1809132256564875264, 1809132177523216384, 1809132255981867008);
COMMIT;

-- ----------------------------
-- Table structure for zz_online_rule
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_rule`;
CREATE TABLE `zz_online_rule` (
  `rule_id` bigint NOT NULL COMMENT '主键Id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `rule_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '规则名称',
  `rule_type` int NOT NULL COMMENT '规则类型',
  `builtin` bit(1) NOT NULL COMMENT '内置规则标记',
  `pattern` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '自定义规则的正则表达式',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者',
  `deleted_flag` int NOT NULL COMMENT '逻辑删除标记',
  PRIMARY KEY (`rule_id`) USING BTREE,
  KEY `idx_app_code` (`app_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单字段规则表';

-- ----------------------------
-- Records of zz_online_rule
-- ----------------------------
BEGIN;
INSERT INTO `zz_online_rule` VALUES (1, NULL, '只允许整数', 1, b'1', NULL, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, 1);
INSERT INTO `zz_online_rule` VALUES (2, NULL, '只允许数字', 2, b'1', NULL, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, 1);
INSERT INTO `zz_online_rule` VALUES (3, NULL, '只允许英文字符', 3, b'1', NULL, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, 1);
INSERT INTO `zz_online_rule` VALUES (4, NULL, '范围验证', 4, b'1', NULL, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, 1);
INSERT INTO `zz_online_rule` VALUES (5, NULL, '邮箱格式验证', 5, b'1', NULL, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, 1);
INSERT INTO `zz_online_rule` VALUES (6, NULL, '手机格式验证', 6, b'1', NULL, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, 1);
COMMIT;

-- ----------------------------
-- Table structure for zz_online_table
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_table`;
CREATE TABLE `zz_online_table` (
  `table_id` bigint NOT NULL COMMENT '主键Id',
  `app_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '应用编码',
  `table_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '表名称',
  `model_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '实体名称',
  `dblink_id` bigint NOT NULL COMMENT '数据库链接Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `create_user_id` bigint NOT NULL COMMENT '创建者',
  `update_time` datetime NOT NULL COMMENT '更新时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者',
  PRIMARY KEY (`table_id`),
  KEY `idx_dblink_id` (`dblink_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单数据表';

-- ----------------------------
-- Records of zz_online_table
-- ----------------------------
BEGIN;
INSERT INTO `zz_online_table` VALUES (1809132251556876288, NULL, 'zz_test_flow_leave', 'ZzTestFlowLeave', 1809055300360081408, '2024-07-05 15:48:35', 1808020007993479168, '2024-07-05 15:48:35', 1808020007993479168);
COMMIT;

-- ----------------------------
-- Table structure for zz_online_virtual_column
-- ----------------------------
DROP TABLE IF EXISTS `zz_online_virtual_column`;
CREATE TABLE `zz_online_virtual_column` (
  `virtual_column_id` bigint NOT NULL COMMENT '主键Id',
  `table_id` bigint NOT NULL COMMENT '所在表Id',
  `object_field_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '字段名称',
  `object_field_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '属性类型',
  `column_prompt` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '字段提示名',
  `virtual_type` int NOT NULL COMMENT '虚拟字段类型(0: 聚合)',
  `datasource_id` bigint NOT NULL COMMENT '关联数据源Id',
  `relation_id` bigint DEFAULT NULL COMMENT '关联Id',
  `aggregation_table_id` bigint DEFAULT NULL COMMENT '聚合字段所在关联表Id',
  `aggregation_column_id` bigint DEFAULT NULL COMMENT '关联表聚合字段Id',
  `aggregation_type` int DEFAULT NULL COMMENT '聚合类型(0: sum 1: count 2: avg 3: min 4: max)',
  `where_clause_json` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '存储过滤条件的json',
  PRIMARY KEY (`virtual_column_id`) USING BTREE,
  KEY `idx_database_id` (`datasource_id`) USING BTREE,
  KEY `idx_relation_id` (`relation_id`) USING BTREE,
  KEY `idx_table_id` (`table_id`) USING BTREE,
  KEY `idx_aggregation_column_id` (`aggregation_column_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='在线表单虚拟字段表';

-- ----------------------------
-- Table structure for zz_sys_data_perm
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_data_perm`;
CREATE TABLE `zz_sys_data_perm` (
  `data_perm_id` bigint NOT NULL COMMENT '主键',
  `data_perm_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '显示名称',
  `rule_type` tinyint NOT NULL COMMENT '数据权限规则类型(0: 全部可见 1: 只看自己 2: 只看本部门 3: 本部门及子部门 4: 多部门及子部门 5: 自定义部门列表)。',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `update_time` datetime NOT NULL COMMENT '最后更新时间',
  PRIMARY KEY (`data_perm_id`) USING BTREE,
  KEY `idx_create_time` (`create_time`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='数据权限表';

-- ----------------------------
-- Records of zz_sys_data_perm
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_data_perm` VALUES (1809037881759502336, '查看全部', 0, 1808020007993479168, '2024-07-05 09:33:36', 1808020007993479168, '2024-07-05 09:33:36');
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_data_perm_dept
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_data_perm_dept`;
CREATE TABLE `zz_sys_data_perm_dept` (
  `data_perm_id` bigint NOT NULL COMMENT '数据权限Id',
  `dept_id` bigint NOT NULL COMMENT '部门Id',
  PRIMARY KEY (`data_perm_id`,`dept_id`),
  KEY `idx_dept_id` (`dept_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='数据权限和部门关联表';

-- ----------------------------
-- Table structure for zz_sys_data_perm_menu
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_data_perm_menu`;
CREATE TABLE `zz_sys_data_perm_menu` (
  `data_perm_id` bigint NOT NULL COMMENT '数据权限Id',
  `menu_id` bigint NOT NULL COMMENT '菜单Id',
  PRIMARY KEY (`data_perm_id`,`menu_id`),
  KEY `idx_menu_id` (`menu_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='数据权限和菜单关联表';

-- ----------------------------
-- Table structure for zz_sys_data_perm_user
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_data_perm_user`;
CREATE TABLE `zz_sys_data_perm_user` (
  `data_perm_id` bigint NOT NULL COMMENT '数据权限Id',
  `user_id` bigint NOT NULL COMMENT '用户Id',
  PRIMARY KEY (`data_perm_id`,`user_id`),
  KEY `idx_user_id` (`user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='数据权限和用户关联表';

-- ----------------------------
-- Records of zz_sys_data_perm_user
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_data_perm_user` VALUES (1809037881759502336, 1809038124504846336);
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_dept`;
CREATE TABLE `zz_sys_dept` (
  `dept_id` bigint NOT NULL COMMENT '部门Id',
  `parent_id` bigint DEFAULT NULL COMMENT '父部门Id',
  `dept_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '部门名称',
  `show_order` int NOT NULL COMMENT '兄弟部分之间的显示顺序，数字越小越靠前',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `update_time` datetime NOT NULL COMMENT '最后更新时间',
  `deleted_flag` int NOT NULL COMMENT '删除标记(1: 正常 -1: 已删除)',
  PRIMARY KEY (`dept_id`) USING BTREE,
  KEY `idx_parent_id` (`parent_id`) USING BTREE,
  KEY `idx_show_order` (`show_order`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=COMPACT COMMENT='部门管理表';

-- ----------------------------
-- Records of zz_sys_dept
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_dept` VALUES (1808020008341606402, NULL, '公司总部', 1, 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00', 1);
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_dept_post
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_dept_post`;
CREATE TABLE `zz_sys_dept_post` (
  `dept_post_id` bigint NOT NULL COMMENT '主键Id',
  `dept_id` bigint NOT NULL COMMENT '部门Id',
  `post_id` bigint NOT NULL COMMENT '岗位Id',
  `post_show_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '部门岗位显示名称',
  PRIMARY KEY (`dept_post_id`) USING BTREE,
  KEY `idx_post_id` (`post_id`) USING BTREE,
  KEY `idx_dept_id` (`dept_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of zz_sys_dept_post
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_dept_post` VALUES (1809038003536924672, 1808020008341606402, 1809037927934595072, '领导岗位');
INSERT INTO `zz_sys_dept_post` VALUES (1809038003968937984, 1808020008341606402, 1809037967663042560, '普通员工');
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_dept_relation
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_dept_relation`;
CREATE TABLE `zz_sys_dept_relation` (
  `parent_dept_id` bigint NOT NULL COMMENT '父部门Id',
  `dept_id` bigint NOT NULL COMMENT '部门Id',
  PRIMARY KEY (`parent_dept_id`,`dept_id`),
  KEY `idx_dept_id` (`dept_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=COMPACT COMMENT='部门关联关系表';

-- ----------------------------
-- Records of zz_sys_dept_relation
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_dept_relation` VALUES (1808020008341606402, 1808020008341606402);
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_menu`;
CREATE TABLE `zz_sys_menu` (
  `menu_id` bigint NOT NULL COMMENT '主键Id',
  `parent_id` bigint DEFAULT NULL COMMENT '父菜单Id，目录菜单的父菜单为null',
  `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '菜单显示名称',
  `menu_type` int NOT NULL COMMENT '(0: 目录 1: 菜单 2: 按钮 3: UI片段)',
  `form_router_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '前端表单路由名称，仅用于menu_type为1的菜单类型',
  `online_form_id` bigint DEFAULT NULL COMMENT '在线表单主键Id',
  `online_menu_perm_type` int DEFAULT NULL COMMENT '在线表单菜单的权限控制类型',
  `report_page_id` bigint DEFAULT NULL COMMENT '统计页面主键Id',
  `online_flow_entry_id` bigint DEFAULT NULL COMMENT '仅用于在线表单的流程Id',
  `show_order` int NOT NULL COMMENT '菜单显示顺序 (值越小，排序越靠前)',
  `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '菜单图标',
  `extra_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '附加信息',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `update_time` datetime NOT NULL COMMENT '最后更新时间',
  PRIMARY KEY (`menu_id`) USING BTREE,
  KEY `idx_show_order` (`show_order`) USING BTREE,
  KEY `idx_parent_id` (`parent_id`) USING BTREE,
  KEY `idx_menu_type` (`menu_type`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=COMPACT COMMENT='菜单和操作权限管理表';

-- ----------------------------
-- Records of zz_sys_menu
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_menu` VALUES (1392786476428693504, NULL, '在线表单', 0, NULL, NULL, NULL, NULL, NULL, 2, 'el-icon-c-scale-to-original', NULL, 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1392786549942259712, 1392786476428693504, '字典管理', 1, 'formOnlineDict', NULL, NULL, NULL, NULL, 2, NULL, '{\"permCodeList\":[\"onlineDict.all\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1392786950682841088, 1392786476428693504, '表单管理', 1, 'formOnlinePage', NULL, NULL, NULL, NULL, 3, NULL, '{\"permCodeList\":[\"onlinePage.all\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1418057714138877952, NULL, '流程管理', 0, NULL, NULL, NULL, NULL, NULL, 3, 'el-icon-s-operation', NULL, 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1418057835631087616, 1418057714138877952, '流程分类', 1, 'formFlowCategory', NULL, NULL, NULL, NULL, 1, NULL, '{\"permCodeList\":[\"flowCategory.all\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1418058289182150656, 1418057714138877952, '流程设计', 1, 'formFlowEntry', NULL, NULL, NULL, NULL, 2, NULL, '{\"permCodeList\":[\"flowEntry.all\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1418058744037642240, 1418057714138877952, '流程实例', 1, 'formAllInstance', NULL, NULL, NULL, NULL, 3, NULL, '{\"permCodeList\":[\"flowOperation.all\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1418059005175009280, NULL, '任务管理', 0, NULL, NULL, NULL, NULL, NULL, 4, 'el-icon-tickets', NULL, 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1418059167532322816, 1418059005175009280, '待办任务', 1, 'formMyTask', NULL, NULL, NULL, NULL, 1, NULL, NULL, 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1418059283920064512, 1418059005175009280, '历史任务', 1, 'formMyHistoryTask', NULL, NULL, NULL, NULL, 3, NULL, NULL, 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1423161217970606080, 1418059005175009280, '已办任务', 1, 'formMyApprovedTask', NULL, NULL, NULL, NULL, 2, NULL, NULL, 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1634009076981567488, 1392786476428693504, '数据库链接', 1, 'formOnlineDblink', NULL, NULL, NULL, NULL, 1, NULL, '{\"permCodeList\":[\"onlineDblink.all\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020011080486913, NULL, '系统管理', 0, NULL, NULL, NULL, NULL, NULL, 1, 'el-icon-setting', '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020012825317376, 1808020011080486913, '用户管理', 1, 'formSysUser', NULL, NULL, NULL, NULL, 100, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020012825317377, 1808020011080486913, '部门管理', 1, 'formSysDept', NULL, NULL, NULL, NULL, 105, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020012825317378, 1808020011080486913, '角色管理', 1, 'formSysRole', NULL, NULL, NULL, NULL, 110, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020012825317379, 1808020011080486913, '数据权限管理', 1, 'formSysDataPerm', NULL, NULL, NULL, NULL, 115, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020012825317380, 1808020011080486913, '岗位管理', 1, 'formSysPost', NULL, NULL, NULL, NULL, 106, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020012825317381, 1808020011080486913, '菜单管理', 1, 'formSysMenu', NULL, NULL, NULL, NULL, 120, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020012825317384, 1808020011080486913, '字典管理', 1, 'formSysDict', NULL, NULL, NULL, NULL, 135, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020012825317385, 1808020011080486913, '操作日志', 1, 'formSysOperationLog', NULL, NULL, NULL, NULL, 140, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020012825317386, 1808020011080486913, '在线用户', 1, 'formSysLoginUser', NULL, NULL, NULL, NULL, 145, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148866, 1808020012825317376, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysUser:fragmentSysUser\",\"permCodeList\":[\"sysUser.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148867, 1808020012825317376, '新增', 3, NULL, NULL, NULL, NULL, NULL, 2, NULL, '{\"menuCode\":\"formSysUser:fragmentSysUser:add\",\"permCodeList\":[\"sysUser.add\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148868, 1808020012825317376, '编辑', 3, NULL, NULL, NULL, NULL, NULL, 3, NULL, '{\"menuCode\":\"formSysUser:fragmentSysUser:update\",\"permCodeList\":[\"sysUser.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148869, 1808020012825317376, '删除', 3, NULL, NULL, NULL, NULL, NULL, 4, NULL, '{\"menuCode\":\"formSysUser:fragmentSysUser:delete\",\"permCodeList\":[\"sysUser.delete\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148870, 1808020012825317376, '重置密码', 3, NULL, NULL, NULL, NULL, NULL, 5, NULL, '{\"menuCode\":\"formSysUser:fragmentSysUser:resetPassword\",\"permCodeList\":[\"sysUser.resetPassword\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148872, 1808020012825317377, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysDept:fragmentSysDept\",\"permCodeList\":[\"sysDept.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148873, 1808020012825317377, '新增', 3, NULL, NULL, NULL, NULL, NULL, 2, '', '{\"bindType\":0,\"menuCode\":\"formSysDept:fragmentSysDept:add\",\"permCodeList\":[\"sysDept.add\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-05 09:51:07');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148874, 1808020012825317377, '编辑', 3, NULL, NULL, NULL, NULL, NULL, 3, NULL, '{\"menuCode\":\"formSysDept:fragmentSysDept:update\",\"permCodeList\":[\"sysDept.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148875, 1808020012825317377, '删除', 3, NULL, NULL, NULL, NULL, NULL, 4, NULL, '{\"menuCode\":\"formSysDept:fragmentSysDept:delete\",\"permCodeList\":[\"sysDept.delete\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148876, 1808020012825317377, '设置岗位', 3, NULL, NULL, NULL, NULL, NULL, 5, NULL, '{\"menuCode\":\"formSysDept:fragmentSysDept:editPost\",\"permCodeList\":[\"sysDept.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148877, 1808020012825317377, '查看岗位', 3, NULL, NULL, NULL, NULL, NULL, 6, NULL, '{\"menuCode\":\"formSysDept:fragmentSysDept:viewPost\",\"permCodeList\":[\"sysDept.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148879, 1808020012825317378, '角色管理', 2, NULL, NULL, NULL, NULL, NULL, 1, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148880, 1808020012825317378, '用户授权', 2, NULL, NULL, NULL, NULL, NULL, 2, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148881, 1808020075098148879, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysRole:fragmentSysRole\",\"permCodeList\":[\"sysRole.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148882, 1808020075098148879, '新增', 3, NULL, NULL, NULL, NULL, NULL, 2, NULL, '{\"menuCode\":\"formSysRole:fragmentSysRole:add\",\"permCodeList\":[\"sysRole.add\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148883, 1808020075098148879, '编辑', 3, NULL, NULL, NULL, NULL, NULL, 3, NULL, '{\"menuCode\":\"formSysRole:fragmentSysRole:update\",\"permCodeList\":[\"sysRole.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148884, 1808020075098148879, '删除', 3, NULL, NULL, NULL, NULL, NULL, 4, NULL, '{\"menuCode\":\"formSysRole:fragmentSysRole:delete\",\"permCodeList\":[\"sysRole.delete\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148885, 1808020075098148880, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysRole:fragmentSysRoleUser\",\"permCodeList\":[\"sysRole.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148886, 1808020075098148880, '授权用户', 3, NULL, NULL, NULL, NULL, NULL, 2, NULL, '{\"menuCode\":\"formSysRole:fragmentSysRoleUser:addUserRole\",\"permCodeList\":[\"sysRole.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148887, 1808020075098148880, '移除用户', 3, NULL, NULL, NULL, NULL, NULL, 3, NULL, '{\"menuCode\":\"formSysRole:fragmentSysRoleUser:deleteUserRole\",\"permCodeList\":[\"sysRole.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148889, 1808020012825317379, '数据权限管理', 2, NULL, NULL, NULL, NULL, NULL, 1, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148890, 1808020012825317379, '用户授权', 2, NULL, NULL, NULL, NULL, NULL, 2, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148891, 1808020075098148889, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysDataPerm:fragmentSysDataPerm\",\"permCodeList\":[\"sysDataPerm.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148892, 1808020075098148889, '新增', 3, NULL, NULL, NULL, NULL, NULL, 2, NULL, '{\"menuCode\":\"formSysDataPerm:fragmentSysDataPerm:add\",\"permCodeList\":[\"sysDataPerm.add\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148893, 1808020075098148889, '编辑', 3, NULL, NULL, NULL, NULL, NULL, 3, NULL, '{\"menuCode\":\"formSysDataPerm:fragmentSysDataPerm:update\",\"permCodeList\":[\"sysDataPerm.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148894, 1808020075098148889, '删除', 3, NULL, NULL, NULL, NULL, NULL, 4, NULL, '{\"menuCode\":\"formSysDataPerm:fragmentSysDataPerm:delete\",\"permCodeList\":[\"sysDataPerm.delete\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148895, 1808020075098148890, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysDataPerm:fragmentSysDataPermUser\",\"permCodeList\":[\"sysDataPerm.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148896, 1808020075098148890, '授权用户', 3, NULL, NULL, NULL, NULL, NULL, 2, NULL, '{\"menuCode\":\"formSysDataPerm:fragmentSysDataPermUser:addDataPermUser\",\"permCodeList\":[\"sysDataPerm.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148897, 1808020075098148890, '移除用户', 3, NULL, NULL, NULL, NULL, NULL, 3, NULL, '{\"menuCode\":\"formSysDataPerm:fragmentSysDataPermUser:deleteDataPermUser\",\"permCodeList\":[\"sysDataPerm.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148899, 1808020012825317380, '岗位管理', 2, NULL, NULL, NULL, NULL, NULL, 1, NULL, '', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148900, 1808020075098148899, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysPost:fragmentSysPost\",\"permCodeList\":[\"sysPost.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148901, 1808020075098148899, '新增', 3, NULL, NULL, NULL, NULL, NULL, 2, NULL, '{\"menuCode\":\"formSysPost:fragmentSysPost:add\",\"permCodeList\":[\"sysPost.add\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148902, 1808020075098148899, '编辑', 3, NULL, NULL, NULL, NULL, NULL, 3, NULL, '{\"menuCode\":\"formSysPost:fragmentSysPost:update\",\"permCodeList\":[\"sysPost.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148903, 1808020075098148899, '删除', 3, NULL, NULL, NULL, NULL, NULL, 4, NULL, '{\"menuCode\":\"formSysPost:fragmentSysPost:delete\",\"permCodeList\":[\"sysPost.delete\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148905, 1808020012825317381, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysMenu:fragmentSysMenu\",\"permCodeList\":[\"sysMenu.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148906, 1808020012825317381, '新增', 3, NULL, NULL, NULL, NULL, NULL, 2, NULL, '{\"menuCode\":\"formSysMenu:fragmentSysMenu:add\",\"permCodeList\":[\"sysMenu.add\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148907, 1808020012825317381, '编辑', 3, NULL, NULL, NULL, NULL, NULL, 3, NULL, '{\"menuCode\":\"formSysMenu:fragmentSysMenu:update\",\"permCodeList\":[\"sysMenu.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075098148908, 1808020012825317381, '删除', 3, NULL, NULL, NULL, NULL, NULL, 4, NULL, '{\"menuCode\":\"formSysMenu:fragmentSysMenu:delete\",\"permCodeList\":[\"sysMenu.delete\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075102343171, 1808020012825317384, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysDict:fragmentSysDict\",\"permCodeList\":[\"globalDict.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075102343172, 1808020012825317384, '新增', 3, NULL, NULL, NULL, NULL, NULL, 2, NULL, '{\"menuCode\":\"formSysDict:fragmentSysDict:add\",\"permCodeList\":[\"globalDict.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075102343173, 1808020012825317384, '编辑', 3, NULL, NULL, NULL, NULL, NULL, 3, NULL, '{\"menuCode\":\"formSysDict:fragmentSysDict:update\",\"permCodeList\":[\"globalDict.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075102343174, 1808020012825317384, '删除', 3, NULL, NULL, NULL, NULL, NULL, 4, NULL, '{\"menuCode\":\"formSysDict:fragmentSysDict:delete\",\"permCodeList\":[\"globalDict.update\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075102343175, 1808020012825317384, '同步缓存', 3, NULL, NULL, NULL, NULL, NULL, 5, NULL, '{\"menuCode\":\"formSysDict:fragmentSysDict:reloadCache\",\"permCodeList\":[\"globalDict.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075102343177, 1808020012825317385, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysOperationLog:fragmentSysOperationLog\",\"permCodeList\":[\"sysOperationLog.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075102343179, 1808020012825317386, '显示', 3, NULL, NULL, NULL, NULL, NULL, 1, NULL, '{\"menuCode\":\"formSysLoginUser:fragmentLoginUser\",\"permCodeList\":[\"loginUser.view\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
INSERT INTO `zz_sys_menu` VALUES (1808020075102343180, 1808020012825317386, '强制下线', 3, NULL, NULL, NULL, NULL, NULL, 2, NULL, '{\"menuCode\":\"formSysLoginUser:fragmentLoginUser:delete\",\"permCodeList\":[\"loginUser.delete\"]}', 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00');
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_operation_log
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_operation_log`;
CREATE TABLE `zz_sys_operation_log` (
  `log_id` bigint NOT NULL COMMENT '主键Id',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '日志描述',
  `operation_type` int DEFAULT NULL COMMENT '操作类型',
  `service_name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '接口所在服务名称',
  `api_class` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '调用的controller全类名',
  `api_method` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '调用的controller中的方法',
  `session_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '用户会话sessionId',
  `trace_id` char(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '每次请求的Id',
  `elapse` int DEFAULT NULL COMMENT '调用时长',
  `request_method` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'HTTP 请求方法，如GET',
  `request_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'HTTP 请求地址',
  `request_arguments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT 'controller接口参数',
  `response_result` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'controller应答结果',
  `request_ip` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '请求IP',
  `success` bit(1) DEFAULT NULL COMMENT '应答状态',
  `error_msg` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '错误信息',
  `tenant_id` bigint DEFAULT NULL COMMENT '租户Id',
  `operator_id` bigint DEFAULT NULL COMMENT '操作员Id',
  `operator_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '操作员名称',
  `operation_time` datetime DEFAULT NULL COMMENT '操作时间',
  PRIMARY KEY (`log_id`),
  KEY `idx_trace_id_idx` (`trace_id`),
  KEY `idx_operation_type_idx` (`operation_type`),
  KEY `idx_operation_time_idx` (`operation_time`) USING BTREE,
  KEY `idx_success` (`success`) USING BTREE,
  KEY `idx_elapse` (`elapse`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='系统操作日志表';

-- ----------------------------
-- Records of zz_sys_operation_log
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_operation_log` VALUES (1809037495178891264, '', 0, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.LoginController', 'com.orangeforms.webadmin.upms.controller.LoginController.doLogin', NULL, 'c5eafaee0e294b3b8fe1ddc47a73aa6f', 526, 'POST', '/admin/upms/login/doLogin', '{\"password\":\"U7kblCgd8NWaoUrEH%2B0j0ocRESztOUkH4L1eMANf40rAVWfgTmw8w1D2QeH2b99bxJQRCoELhiJDo3NbdN8sodZf%2BWa%2BRoH8URHmG1qziSMw4C%2Fc40gR1x4vclxMrq9jN1d3yP2gVljlaxVmMQcVsLqGsgcxfvyucwYzClifRUY%3D\",\"loginName\":\"admin\"}', NULL, '192.168.43.167', b'0', '用户名或密码错误，请重试！', NULL, NULL, NULL, '2024-07-05 09:32:04');
INSERT INTO `zz_sys_operation_log` VALUES (1809037516607590400, '', 0, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.LoginController', 'com.orangeforms.webadmin.upms.controller.LoginController.doLogin', NULL, 'f1104bc680014a999321a6ca3c240485', 136, 'POST', '/admin/upms/login/doLogin', '{\"password\":\"MYjsPjZgslAadC1%2FhwPRNyG5yvtl%2BRVWJGOj0MfPNNJyTMMBgPrymEsoMsR%2FnSog7TdIborw%2BYgO9o31KFowqf3I3Gw6oI0qXkDbJKBqeDqkKKoOa95J9ITm7TKHKYcKu15xhmQvmU1OIMs59A2w39Cx1Z58I7gtbtHHL34iVJg%3D\",\"loginName\":\"admin\"}', NULL, '192.168.43.167', b'0', '用户名或密码错误，请重试！', NULL, NULL, NULL, '2024-07-05 09:32:09');
INSERT INTO `zz_sys_operation_log` VALUES (1809037535469375488, '', 0, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.LoginController', 'com.orangeforms.webadmin.upms.controller.LoginController.doLogin', 'Authorization:login:token-session:5fb5b15d-2b4c-4063-ae55-5b0ec195fa39', '58de29f3ec22457d8f4f980a350cf623', 579, 'POST', '/admin/upms/login/doLogin', '{\"password\":\"i%2BcOZFUuWVmCCh%2B1ZhtpXTD8RNG1S4GMABC0dZssCPYckczkR%2FeRSuiYCMlDLaUa1oN%2BPeZRvj3zPKmDcuDyi0Jewxq7kTFyFAy%2Fbrep5MD3i2X%2BtV9B%2FT3CMMdbdOMa1OVP1AUO%2FBbmGdu0iK3UpvL608mJx1vqbpLRynYBazc%3D\",\"loginName\":\"admin\"}', NULL, '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 09:32:13');
INSERT INTO `zz_sys_operation_log` VALUES (1809037772132978688, '', 10, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.SysRoleController', 'com.orangeforms.webadmin.upms.controller.SysRoleController.add', 'Authorization:login:token-session:5fb5b15d-2b4c-4063-ae55-5b0ec195fa39', 'cd5eb86b69094458881aa6dcb04aa766', 5496, 'POST', '/admin/upms/sysRole/add', '{\"menuIdListString\":\"1392786476428693504,1392786549942259712,1392786950682841088,1634009076981567488,1418057714138877952,1418057835631087616,1418058289182150656,1418058744037642240,1418059005175009280,1418059167532322816,1418059283920064512,1423161217970606080,1808020011080486913,1808020012825317376,1808020075098148866,1808020075098148867,1808020075098148868,1808020075098148869,1808020075098148870,1808020012825317377,1808020075098148872,1808020075098148873,1808020075098148874,1808020075098148875,1808020075098148876,1808020075098148877,1808020012825317378,1808020075098148879,1808020075098148881,1808020075098148882,1808020075098148883,1808020075098148884,1808020075098148880,1808020075098148885,1808020075098148886,1808020075098148887,1808020012825317379,1808020075098148889,1808020075098148891,1808020075098148892,1808020075098148893,1808020075098148894,1808020075098148890,1808020075098148895,1808020075098148896,1808020075098148897,1808020012825317380,1808020075098148899,1808020075098148900,1808020075098148901,1808020075098148902,1808020075098148903,1808020012825317381,1808020075098148905,1808020075098148906,1808020075098148907,1808020075098148908,1808020012825317384,1808020075102343171,1808020075102343172,1808020075102343173,1808020075102343174,1808020075102343175,1808020012825317385,1808020075102343177,1808020012825317386,1808020075102343179,1808020075102343180\",\"sysRoleDto\":{\"roleName\":\"查看全部\"}}', '{\"data\":1809037772728569856,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 09:33:10');
INSERT INTO `zz_sys_operation_log` VALUES (1809037881738530816, '', 10, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.SysDataPermController', 'com.orangeforms.webadmin.upms.controller.SysDataPermController.add', 'Authorization:login:token-session:5fb5b15d-2b4c-4063-ae55-5b0ec195fa39', '85746a39a3a34191884eb30453ecc237', 220, 'POST', '/admin/upms/sysDataPerm/add', '{\"sysDataPermDto\":{\"dataPermName\":\"查看全部\",\"ruleType\":0},\"menuIdListString\":\"\"}', '{\"data\":1809037881759502336,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 09:33:36');
INSERT INTO `zz_sys_operation_log` VALUES (1809037927917817856, '', 10, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.SysPostController', 'com.orangeforms.webadmin.upms.controller.SysPostController.add', 'Authorization:login:token-session:5fb5b15d-2b4c-4063-ae55-5b0ec195fa39', 'fa4bf0f0b80748249bdfb4c78bb93b8d', 190, 'POST', '/admin/upms/sysPost/add', '{\"sysPostDto\":{\"leaderPost\":true,\"postLevel\":1,\"postName\":\"领导岗位\"}}', '{\"data\":1809037927934595072,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 09:33:47');
INSERT INTO `zz_sys_operation_log` VALUES (1809037967658848256, '', 10, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.SysPostController', 'com.orangeforms.webadmin.upms.controller.SysPostController.add', 'Authorization:login:token-session:5fb5b15d-2b4c-4063-ae55-5b0ec195fa39', '04da87ca21294e0296af2e162999e396', 228, 'POST', '/admin/upms/sysPost/add', '{\"sysPostDto\":{\"postLevel\":10,\"postName\":\"普通员工\"}}', '{\"data\":1809037967663042560,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 09:33:56');
INSERT INTO `zz_sys_operation_log` VALUES (1809038123905060864, '', 10, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.SysUserController', 'com.orangeforms.webadmin.upms.controller.SysUserController.add', 'Authorization:login:token-session:5fb5b15d-2b4c-4063-ae55-5b0ec195fa39', '99bb05eadf944b54a194db3152773b13', 635, 'POST', '/admin/upms/sysUser/add', '{\"sysUserDto\":{\"deptId\":1808020008341606402,\"loginName\":\"userA\",\"password\":\"123456\",\"showName\":\"员工A\",\"userStatus\":0,\"userType\":2},\"dataPermIdListString\":\"1809037881759502336\",\"deptPostIdListString\":\"1809038003968937984\",\"roleIdListString\":\"1809037772728569856\"}', '{\"data\":1809038124504846336,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 09:34:34');
INSERT INTO `zz_sys_operation_log` VALUES (1809042287854882816, '', 15, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.SysMenuController', 'com.orangeforms.webadmin.upms.controller.SysMenuController.update', 'Authorization:login:token-session:5fb5b15d-2b4c-4063-ae55-5b0ec195fa39', '68dd67ca9821460caee6986c5c3c3354', 420, 'POST', '/admin/upms/sysMenu/update', '{\"sysMenuDto\":{\"extraData\":\"{\\\"bindType\\\":0,\\\"menuCode\\\":\\\"formSysDept:fragmentSysDept:add\\\",\\\"permCodeList\\\":[\\\"sysDept.add\\\"]}\",\"icon\":\"\",\"menuId\":1808020075098148873,\"menuName\":\"新增\",\"menuType\":3,\"parentId\":1808020012825317377,\"showOrder\":2}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 09:51:06');
INSERT INTO `zz_sys_operation_log` VALUES (1809050375580291072, '', 5, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.LoginController', 'com.orangeforms.webadmin.upms.controller.LoginController.doLogout', 'Authorization:login:token-session:5fb5b15d-2b4c-4063-ae55-5b0ec195fa39', '8611984bfad74113bcc5f5a2d30f0557', 36, 'POST', '/admin/upms/login/doLogout', '{}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 10:23:15');
INSERT INTO `zz_sys_operation_log` VALUES (1809050381297127424, '', 0, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.LoginController', 'com.orangeforms.webadmin.upms.controller.LoginController.doLogin', NULL, 'bb940a20dbac4f11b7d448ebe11668c4', 466, 'POST', '/admin/upms/login/doLogin', '{\"password\":\"jiRS2mxriWjx778WM%2FJql65bpRfu7BaqVkPrDySclvJ7%2B%2B0KSuAIZ557bEFocQnCWbfLJwRFokTUDastSpEeiFAsd1kwv6oZyQimj4KCyDtin6P6gPsn2GRQrFKACkOKBXY70FeGgQvaVwWBEGo6EzdfJw9adJOGf2WIigrIajk%3D\",\"loginName\":\"admin\"}', NULL, '192.168.43.167', b'0', '用户名或密码错误，请重试！', NULL, NULL, NULL, '2024-07-05 10:23:16');
INSERT INTO `zz_sys_operation_log` VALUES (1809050432673157120, '', 0, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.LoginController', 'com.orangeforms.webadmin.upms.controller.LoginController.doLogin', NULL, 'ffe77e34ec35454da6e71b0cef7f2ea8', 143, 'POST', '/admin/upms/login/doLogin', '{\"password\":\"Kdkf8xz%2Fay2lKRidpUGWBJM7%2BlvxTVpjdSNLCuL1yx6LbVvTPo7PD5zFBLKMPWeSrtostyAFybz6lAAHpdCnQWjmbBbpMExTmY74O12EQySXOQBwrmH3yltq9MXJI5qRJ24imMxYyTvcX2yDMbEfDF3zcC404GvTgX0gexCmTjs%3D\",\"loginName\":\"userA\"}', NULL, '192.168.43.167', b'0', '用户名或密码错误，请重试！', NULL, NULL, NULL, '2024-07-05 10:23:28');
INSERT INTO `zz_sys_operation_log` VALUES (1809050456257728512, '', 0, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.LoginController', 'com.orangeforms.webadmin.upms.controller.LoginController.doLogin', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', 'b43789173f9244aa803866db7bafca73', 460, 'POST', '/admin/upms/login/doLogin', '{\"password\":\"gYCq1nWZHSsvg35HCgnRzw23kN3PRTZJY%2Bt2bcZWliYf11o14OHEDhsH12nCC4LYn00UEDoYWbbMdiwNzQFmcgmbJq4%2Fu6uxURokHpI%2BEexZnL5IzWBb2P53hGBwUkOO36jRfbTm%2B0qRtIbpATs74jpc1L%2FFbT18%2Fj%2FN9C3bpq4%3D\",\"loginName\":\"userA\"}', NULL, '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:23:34');
INSERT INTO `zz_sys_operation_log` VALUES (1809050496074256384, '', 15, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.SysUserController', 'com.orangeforms.webadmin.upms.controller.SysUserController.update', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', '8926e20ea352417aab2234d2de2c1fea', 903, 'POST', '/admin/upms/sysUser/update', '{\"sysUserDto\":{\"deptId\":1808020008341606402,\"loginName\":\"userA\",\"showName\":\"员工A\",\"userId\":1809038124504846336,\"userStatus\":0,\"userType\":2},\"dataPermIdListString\":\"1809037881759502336\",\"deptPostIdListString\":\"1809038003968937984\",\"roleIdListString\":\"1809037772728569856\"}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:23:43');
INSERT INTO `zz_sys_operation_log` VALUES (1809051198259466240, '', 10, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowCategoryController', 'com.orangeforms.common.flow.controller.FlowCategoryController.add', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', 'cd9d22e5fd194e7dac6c90531cab52dd', 249, 'POST', '/admin/flow/flowCategory/add', '{\"flowCategoryDto\":{\"code\":\"TEST\",\"name\":\"测试分类\",\"showOrder\":1}}', '{\"data\":1809051198460792832,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:26:31');
INSERT INTO `zz_sys_operation_log` VALUES (1809052045043306496, '', 10, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.add', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', '66225485743a44df81882b0b70885c69', 478, 'POST', '/admin/flow/flowEntry/add', '{\"flowEntryDto\":{\"bindFormType\":1,\"categoryId\":1809051198460792832,\"defaultRouterName\":\"AAA\",\"diagramType\":0,\"encodedRule\":\"{\\\"middle\\\":\\\"DD\\\",\\\"idWidth\\\":5,\\\"prefix\\\":\\\"AA\\\",\\\"precisionTo\\\":\\\"DAYS\\\",\\\"calculateWhenView\\\":true}\",\"extensionData\":\"{\\\"approvalStatusDict\\\":[{\\\"id\\\":1,\\\"name\\\":\\\"同意\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"拒绝\\\"},{\\\"id\\\":3,\\\"name\\\":\\\"驳回\\\"},{\\\"id\\\":4,\\\"name\\\":\\\"会签同意\\\"},{\\\"id\\\":5,\\\"name\\\":\\\"会签拒绝\\\"}],\\\"notifyTypes\\\":[],\\\"cascadeDeleteBusinessData\\\":false,\\\"supportRevive\\\":false}\",\"processDefinitionKey\":\"AAA\",\"processDefinitionName\":\"AAA\"}}', '{\"data\":1809052045395628032,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:29:53');
INSERT INTO `zz_sys_operation_log` VALUES (1809052080904605696, '', 10, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryVariableController', 'com.orangeforms.common.flow.controller.FlowEntryVariableController.add', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', 'c7804ebbe24d492b82c23cb5f3b25879', 225, 'POST', '/admin/flow/flowEntryVariable/add', '{\"flowEntryVariableDto\":{\"builtin\":false,\"entryId\":1809052045395628032,\"showName\":\"AAA\",\"variableName\":\"aaa\",\"variableType\":1}}', '{\"data\":1809052080921382912,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:30:01');
INSERT INTO `zz_sys_operation_log` VALUES (1809052112206696448, '', 15, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.update', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', '9c28172a4ac74b448439334f0ea44d34', 306, 'POST', '/admin/flow/flowEntry/update', '{\"flowEntryDto\":{\"bindFormType\":1,\"categoryId\":1809051198460792832,\"defaultRouterName\":\"AAA\",\"diagramType\":0,\"encodedRule\":\"{\\\"middle\\\":\\\"DD\\\",\\\"idWidth\\\":5,\\\"prefix\\\":\\\"AA\\\",\\\"precisionTo\\\":\\\"DAYS\\\",\\\"calculateWhenView\\\":true}\",\"entryId\":1809052045395628032,\"extensionData\":\"{\\\"approvalStatusDict\\\":[{\\\"id\\\":1,\\\"name\\\":\\\"同意\\\",\\\"_X_ROW_KEY\\\":\\\"row_28\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"拒绝\\\",\\\"_X_ROW_KEY\\\":\\\"row_29\\\"},{\\\"id\\\":3,\\\"name\\\":\\\"驳回\\\",\\\"_X_ROW_KEY\\\":\\\"row_30\\\"},{\\\"id\\\":4,\\\"name\\\":\\\"会签同意\\\",\\\"_X_ROW_KEY\\\":\\\"row_31\\\"},{\\\"id\\\":5,\\\"name\\\":\\\"会签拒绝\\\",\\\"_X_ROW_KEY\\\":\\\"row_32\\\"},{\\\"name\\\":\\\"AAA\\\",\\\"id\\\":11}],\\\"notifyTypes\\\":[]}\",\"processDefinitionKey\":\"AAA\",\"processDefinitionName\":\"AAA\"}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:30:09');
INSERT INTO `zz_sys_operation_log` VALUES (1809052122159779840, '', 15, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.update', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', 'c9af56a061bb4a87a964cb617f4f9c15', 201, 'POST', '/admin/flow/flowEntry/update', '{\"flowEntryDto\":{\"bindFormType\":1,\"categoryId\":1809051198460792832,\"defaultRouterName\":\"AAA\",\"diagramType\":0,\"encodedRule\":\"{\\\"middle\\\":\\\"DD\\\",\\\"idWidth\\\":5,\\\"prefix\\\":\\\"AA\\\",\\\"precisionTo\\\":\\\"DAYS\\\",\\\"calculateWhenView\\\":true}\",\"entryId\":1809052045395628032,\"extensionData\":\"{\\\"approvalStatusDict\\\":[{\\\"id\\\":1,\\\"name\\\":\\\"同意\\\",\\\"_X_ROW_KEY\\\":\\\"row_28\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"拒绝\\\",\\\"_X_ROW_KEY\\\":\\\"row_29\\\"},{\\\"id\\\":3,\\\"name\\\":\\\"驳回\\\",\\\"_X_ROW_KEY\\\":\\\"row_30\\\"},{\\\"id\\\":4,\\\"name\\\":\\\"会签同意\\\",\\\"_X_ROW_KEY\\\":\\\"row_31\\\"},{\\\"id\\\":5,\\\"name\\\":\\\"会签拒绝\\\",\\\"_X_ROW_KEY\\\":\\\"row_32\\\"},{\\\"name\\\":\\\"AAA\\\",\\\"id\\\":11,\\\"_X_ROW_KEY\\\":\\\"row_33\\\"}],\\\"notifyTypes\\\":[],\\\"cascadeDeleteBusinessData\\\":false,\\\"supportRevive\\\":false}\",\"processDefinitionKey\":\"AAA\",\"processDefinitionName\":\"AAA\"}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:30:11');
INSERT INTO `zz_sys_operation_log` VALUES (1809052746851028992, '', 15, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.update', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', '6609a8762f6c49af9f570b746a30b8ac', 297, 'POST', '/admin/flow/flowEntry/update', '{\"flowEntryDto\":{\"bindFormType\":1,\"categoryId\":1809051198460792832,\"defaultRouterName\":\"AAA\",\"diagramType\":0,\"encodedRule\":\"{\\\"middle\\\":\\\"DD\\\",\\\"idWidth\\\":5,\\\"prefix\\\":\\\"AA\\\",\\\"precisionTo\\\":\\\"DAYS\\\",\\\"calculateWhenView\\\":true}\",\"entryId\":1809052045395628032,\"extensionData\":\"{\\\"approvalStatusDict\\\":[{\\\"id\\\":1,\\\"name\\\":\\\"同意\\\",\\\"_X_ROW_KEY\\\":\\\"row_28\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"拒绝\\\",\\\"_X_ROW_KEY\\\":\\\"row_29\\\"},{\\\"id\\\":3,\\\"name\\\":\\\"驳回\\\",\\\"_X_ROW_KEY\\\":\\\"row_30\\\"},{\\\"id\\\":4,\\\"name\\\":\\\"会签同意\\\",\\\"_X_ROW_KEY\\\":\\\"row_31\\\"},{\\\"id\\\":5,\\\"name\\\":\\\"会签拒绝\\\",\\\"_X_ROW_KEY\\\":\\\"row_32\\\"},{\\\"name\\\":\\\"AAA\\\",\\\"id\\\":11,\\\"_X_ROW_KEY\\\":\\\"row_33\\\"}],\\\"notifyTypes\\\":[],\\\"cascadeDeleteBusinessData\\\":false,\\\"supportRevive\\\":false}\",\"processDefinitionKey\":\"AAA\",\"processDefinitionName\":\"AAA\",\"status\":0}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:32:40');
INSERT INTO `zz_sys_operation_log` VALUES (1809052753826156544, '', 15, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.update', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', 'b1c15eb123b14ae68876d1e026b8f498', 267, 'POST', '/admin/flow/flowEntry/update', '{\"flowEntryDto\":{\"bindFormType\":1,\"categoryId\":1809051198460792832,\"defaultRouterName\":\"AAA\",\"diagramType\":0,\"encodedRule\":\"{\\\"middle\\\":\\\"DD\\\",\\\"idWidth\\\":5,\\\"prefix\\\":\\\"AA\\\",\\\"precisionTo\\\":\\\"DAYS\\\",\\\"calculateWhenView\\\":true}\",\"entryId\":1809052045395628032,\"extensionData\":\"{\\\"approvalStatusDict\\\":[{\\\"id\\\":1,\\\"name\\\":\\\"同意\\\",\\\"_X_ROW_KEY\\\":\\\"row_28\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"拒绝\\\",\\\"_X_ROW_KEY\\\":\\\"row_29\\\"},{\\\"id\\\":3,\\\"name\\\":\\\"驳回\\\",\\\"_X_ROW_KEY\\\":\\\"row_30\\\"},{\\\"id\\\":4,\\\"name\\\":\\\"会签同意\\\",\\\"_X_ROW_KEY\\\":\\\"row_31\\\"},{\\\"id\\\":5,\\\"name\\\":\\\"会签拒绝\\\",\\\"_X_ROW_KEY\\\":\\\"row_32\\\"},{\\\"name\\\":\\\"AAA\\\",\\\"id\\\":11,\\\"_X_ROW_KEY\\\":\\\"row_33\\\"}],\\\"notifyTypes\\\":[],\\\"cascadeDeleteBusinessData\\\":false,\\\"supportRevive\\\":false}\",\"processDefinitionKey\":\"AAA\",\"processDefinitionName\":\"AAA\",\"status\":0}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:32:42');
INSERT INTO `zz_sys_operation_log` VALUES (1809055300347498496, '', 10, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineDblinkController', 'com.orangeforms.common.online.controller.OnlineDblinkController.add', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', '4552709db33b4ac38520c97cbfbd84fb', 180, 'POST', '/admin/online/onlineDblink/add', '{\"onlineDblinkDto\":{\"configuration\":\"{\\\"sid\\\":true,\\\"initialPoolSize\\\":5,\\\"minPoolSize\\\":5,\\\"maxPoolSize\\\":50,\\\"host\\\":\\\"121.37.102.103\\\",\\\"port\\\":3306,\\\"database\\\":\\\"zzdemo-online-open\\\",\\\"username\\\":\\\"root\\\",\\\"password\\\":\\\"TianLiujielei231\\\"}\",\"dblinkName\":\"mysql-test\",\"dblinkType\":0}}', '{\"data\":1809055300360081408,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:42:49');
INSERT INTO `zz_sys_operation_log` VALUES (1809055451015286784, '', 10, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlinePageController', 'com.orangeforms.common.online.controller.OnlinePageController.add', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', 'f6a28f34b7d94f0ca0ea0efdb23b59b6', 307, 'POST', '/admin/online/onlinePage/add', '{\"onlinePageDto\":{\"pageCode\":\"test\",\"pageName\":\"test\",\"pageType\":1,\"status\":1}}', '{\"data\":1809055451229196288,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:43:25');
INSERT INTO `zz_sys_operation_log` VALUES (1809055625460584448, '', 10, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineDatasourceController', 'com.orangeforms.common.online.controller.OnlineDatasourceController.add', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', 'cc233f444b9741e79e85902c6ced44c5', 2989, 'POST', '/admin/online/onlineDatasource/add', '{\"onlineDatasourceDto\":{\"datasourceName\":\"test\",\"dblinkId\":1809055300360081408,\"masterTableName\":\"zz_flow_entry\",\"variableName\":\"test\"},\"pageId\":1809055451229196288}', '{\"data\":1809055636340609024,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:44:06');
INSERT INTO `zz_sys_operation_log` VALUES (1809055701822083072, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlinePageController', 'com.orangeforms.common.online.controller.OnlinePageController.update', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', 'b9943033448544c5a5dcb93fe450bbeb', 245, 'POST', '/admin/online/onlinePage/update', '{\"onlinePageDto\":{\"pageCode\":\"test\",\"pageId\":1809055451229196288,\"pageName\":\"test\",\"pageType\":1,\"status\":2}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:44:25');
INSERT INTO `zz_sys_operation_log` VALUES (1809055740065746944, '', 10, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineFormController', 'com.orangeforms.common.online.controller.OnlineFormController.add', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', 'abc44f1518ed471597d38fad6161e8ae', 589, 'POST', '/admin/online/onlineForm/add', '{\"onlineFormDto\":{\"datasourceIdList\":[1809055636340609024],\"formCode\":\"aaa\",\"formKind\":5,\"formName\":\"aaa\",\"formType\":1,\"masterTableId\":1809055626488188928,\"pageId\":1809055451229196288,\"paramsJson\":\"[]\",\"widgetJson\":\"{\\\"pc\\\":{\\\"filterItemWidth\\\":350,\\\"gutter\\\":20,\\\"labelWidth\\\":100,\\\"labelPosition\\\":\\\"right\\\",\\\"tableWidget\\\":{\\\"widgetType\\\":100,\\\"bindData\\\":{\\\"defaultValue\\\":{}},\\\"operationList\\\":[{\\\"id\\\":1,\\\"type\\\":10,\\\"name\\\":\\\"批量删除\\\",\\\"enabled\\\":false,\\\"builtin\\\":true,\\\"rowOperation\\\":false,\\\"btnType\\\":\\\"danger\\\",\\\"plain\\\":true,\\\"readOnly\\\":false,\\\"showOrder\\\":0,\\\"eventList\\\":[]},{\\\"id\\\":2,\\\"type\\\":0,\\\"name\\\":\\\"新建\\\",\\\"enabled\\\":false,\\\"builtin\\\":true,\\\"rowOperation\\\":false,\\\"btnType\\\":\\\"primary\\\",\\\"plain\\\":false,\\\"readOnly\\\":false,\\\"showOrder\\\":1,\\\"eventList\\\":[]},{\\\"id\\\":3,\\\"type\\\":1,\\\"name\\\":\\\"编辑\\\",\\\"enabled\\\":false,\\\"builtin\\\":true,\\\"rowOperation\\\":true,\\\"btnClass\\\":\\\"table-btn success\\\",\\\"readOnly\\\":false,\\\"showOrder\\\":10,\\\"eventList\\\":[]},{\\\"id\\\":4,\\\"type\\\":2,\\\"name\\\":\\\"删除\\\",\\\"enabled\\\":false,\\\"builtin\\\":true,\\\"rowOperation\\\":true,\\\"btnClass\\\":\\\"table-btn delete\\\",\\\"readOnly\\\":false,\\\"showOrder\\\":15,\\\"eventList\\\":[]}],\\\"showName\\\":\\\"表格组件\\\",\\\"variableName\\\":\\\"table1720147467397\\\",\\\"props\\\":{\\\"span\\\":24,\\\"height\\\":300,\\\"paddingBottom\\\":0,\\\"paged\\\":true,\\\"pageSize\\\":10,\\\"operationColumnWidth\\\":160,\\\"tableColumnList\\\":[]},\\\"eventList\\\":[],\\\"childWidgetList\\\":[],\\\"style\\\":{},\\\"supportOperation\\\":true},\\\"leftWidget\\\":{\\\"widgetType\\\":13,\\\"bindData\\\":{\\\"defaultValue\\\":{}},\\\"showName\\\":\\\"树形选择组件\\\",\\\"variableName\\\":\\\"tree1720147467397\\\",\\\"props\\\":{\\\"span\\\":24,\\\"height\\\":300,\\\"dictInfo\\\":{},\\\"required\\\":false,\\\"disabled\\\":false},\\\"eventList\\\":[],\\\"childWidgetList\\\":[],\\\"style\\\":{},\\\"supportOperation\\\":false},\\\"operationList\\\":[{\\\"id\\\":0,\\\"type\\\":3,\\\"name\\\":\\\"导出\\\",\\\"enabled\\\":false,\\\"builtin\\\":true,\\\"rowOperation\\\":false,\\\"btnType\\\":\\\"primary\\\",\\\"plain\\\":true,\\\"paramList\\\":[],\\\"eventList\\\":[],\\\"readOnly\\\":false,\\\"showOrder\\\":0},{\\\"id\\\":1,\\\"type\\\":10,\\\"name\\\":\\\"批量删除\\\",\\\"en', '{\"data\":1809055741093351424,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:44:34');
INSERT INTO `zz_sys_operation_log` VALUES (1809056459653124096, '', 20, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineFormController', 'com.orangeforms.common.online.controller.OnlineFormController.delete', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', '406cd42f8c3a408fa8928e94a8ebdcc6', 329, 'POST', '/admin/online/onlineForm/delete', '{\"formId\":1809055741093351424}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:47:25');
INSERT INTO `zz_sys_operation_log` VALUES (1809056484886056960, '', 20, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineFormController', 'com.orangeforms.common.online.controller.OnlineFormController.delete', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', 'ac3418b76d474c99862e49acab906011', 76, 'POST', '/admin/online/onlineForm/delete', '{\"formId\":1809055741093351424}', '{\"errorCode\":\"DATA_NOT_EXIST\",\"errorMessage\":\"数据不存在，请刷新后重试！\",\"success\":false}', '192.168.43.167', b'0', '数据不存在，请刷新后重试！', NULL, 1809038124504846336, 'userA', '2024-07-05 10:47:31');
INSERT INTO `zz_sys_operation_log` VALUES (1809056769645744128, '', 10, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineFormController', 'com.orangeforms.common.online.controller.OnlineFormController.add', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', '5ac915cc240f4463817134fbcba16d94', 508, 'POST', '/admin/online/onlineForm/add', '{\"onlineFormDto\":{\"datasourceIdList\":[1809055636340609024],\"formCode\":\"aaa\",\"formKind\":5,\"formName\":\"aaa\",\"formType\":1,\"masterTableId\":1809055626488188928,\"pageId\":1809055451229196288,\"paramsJson\":\"[]\",\"widgetJson\":\"{\\\"pc\\\":{\\\"filterItemWidth\\\":350,\\\"gutter\\\":20,\\\"labelWidth\\\":100,\\\"labelPosition\\\":\\\"right\\\",\\\"tableWidget\\\":{\\\"widgetType\\\":100,\\\"bindData\\\":{\\\"defaultValue\\\":{}},\\\"operationList\\\":[{\\\"id\\\":1,\\\"type\\\":10,\\\"name\\\":\\\"批量删除\\\",\\\"enabled\\\":false,\\\"builtin\\\":true,\\\"rowOperation\\\":false,\\\"btnType\\\":\\\"danger\\\",\\\"plain\\\":true,\\\"readOnly\\\":false,\\\"showOrder\\\":0,\\\"eventList\\\":[]},{\\\"id\\\":2,\\\"type\\\":0,\\\"name\\\":\\\"新建\\\",\\\"enabled\\\":false,\\\"builtin\\\":true,\\\"rowOperation\\\":false,\\\"btnType\\\":\\\"primary\\\",\\\"plain\\\":false,\\\"readOnly\\\":false,\\\"showOrder\\\":1,\\\"eventList\\\":[]},{\\\"id\\\":3,\\\"type\\\":1,\\\"name\\\":\\\"编辑\\\",\\\"enabled\\\":false,\\\"builtin\\\":true,\\\"rowOperation\\\":true,\\\"btnClass\\\":\\\"table-btn success\\\",\\\"readOnly\\\":false,\\\"showOrder\\\":10,\\\"eventList\\\":[]},{\\\"id\\\":4,\\\"type\\\":2,\\\"name\\\":\\\"删除\\\",\\\"enabled\\\":false,\\\"builtin\\\":true,\\\"rowOperation\\\":true,\\\"btnClass\\\":\\\"table-btn delete\\\",\\\"readOnly\\\":false,\\\"showOrder\\\":15,\\\"eventList\\\":[]}],\\\"showName\\\":\\\"表格组件\\\",\\\"variableName\\\":\\\"table1720147715974\\\",\\\"props\\\":{\\\"span\\\":24,\\\"height\\\":300,\\\"paddingBottom\\\":0,\\\"paged\\\":true,\\\"pageSize\\\":10,\\\"operationColumnWidth\\\":160,\\\"tableColumnList\\\":[]},\\\"eventList\\\":[],\\\"childWidgetList\\\":[],\\\"style\\\":{},\\\"supportOperation\\\":true},\\\"leftWidget\\\":{\\\"widgetType\\\":13,\\\"bindData\\\":{\\\"defaultValue\\\":{}},\\\"showName\\\":\\\"树形选择组件\\\",\\\"variableName\\\":\\\"tree1720147715974\\\",\\\"props\\\":{\\\"span\\\":24,\\\"height\\\":300,\\\"dictInfo\\\":{},\\\"required\\\":false,\\\"disabled\\\":false},\\\"eventList\\\":[],\\\"childWidgetList\\\":[],\\\"style\\\":{},\\\"supportOperation\\\":false},\\\"operationList\\\":[{\\\"id\\\":0,\\\"type\\\":3,\\\"name\\\":\\\"导出\\\",\\\"enabled\\\":false,\\\"builtin\\\":true,\\\"rowOperation\\\":false,\\\"btnType\\\":\\\"primary\\\",\\\"plain\\\":true,\\\"paramList\\\":[],\\\"eventList\\\":[],\\\"readOnly\\\":false,\\\"showOrder\\\":0},{\\\"id\\\":1,\\\"type\\\":10,\\\"name\\\":\\\"批量删除\\\",\\\"en', '{\"data\":1809056770480410624,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:48:39');
INSERT INTO `zz_sys_operation_log` VALUES (1809057010251993088, '', 10, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineFormController', 'com.orangeforms.common.online.controller.OnlineFormController.clone', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', '32321e03b4ac418ca5d6fea8ac744a09', 453, 'POST', '/admin/online/onlineForm/clone', '{\"formId\":1809056770480410624}', '{\"data\":1809057010814029824,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:49:37');
INSERT INTO `zz_sys_operation_log` VALUES (1809057028065202176, '', 20, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineFormController', 'com.orangeforms.common.online.controller.OnlineFormController.delete', 'Authorization:login:token-session:ae6bfe73-43ea-4a84-a6fb-528e90c339de', '45d08665cef04be4b9a20cc8b9e3505d', 302, 'POST', '/admin/online/onlineForm/delete', '{\"formId\":1809057010814029824}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1809038124504846336, 'userA', '2024-07-05 10:49:41');
INSERT INTO `zz_sys_operation_log` VALUES (1809131899889651712, '', 0, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.LoginController', 'com.orangeforms.webadmin.upms.controller.LoginController.doLogin', NULL, '17cfa5afe5374abda116be3f69094fcf', 497, 'POST', '/admin/upms/login/doLogin', '{\"password\":\"ekih%2BFzFR03abVnW2zJLYZJ%2FEHw2EpMZKuW9698GRI6zsXrhLXX1UjKEN11L31%2BrePfnFLvp%2Bk408bZ6CLtfjhTjRR9wbOzPocmtbK063VM%2F7Crw9nAlaSEobYPwWlHuiugw8CcVPPWAAfiSz2yoedg5%2BBbBDx4SnWKKPz7K59Y%3D\",\"loginName\":\"admin\"}', NULL, '192.168.43.167', b'0', '用户名或密码错误，请重试！', NULL, NULL, NULL, '2024-07-05 15:47:12');
INSERT INTO `zz_sys_operation_log` VALUES (1809131924610879488, '', 0, 'application-webadmin', 'com.orangeforms.webadmin.upms.controller.LoginController', 'com.orangeforms.webadmin.upms.controller.LoginController.doLogin', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'd2af8f5c698e4e6b8b610163e5908217', 547, 'POST', '/admin/upms/login/doLogin', '{\"password\":\"n1NyIK3vu4fhzT5kFQRSYQvehBUqZ2RK6VOeDT7NKd7Tj7Z78CV6Yg73TdJSKLH7PtQ1yrzCPE7QijTH3CCPqg6x%2FDE0ndlm0GPAmdcG8c1LKu4RrV%2BM37grdKeOtbCbohG4uishREJ9jovLiZI8twfRGCnzqEs3bKBjPybBdDw%3D\",\"loginName\":\"admin\"}', NULL, '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:47:18');
INSERT INTO `zz_sys_operation_log` VALUES (1809132075907813376, '', 20, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlinePageController', 'com.orangeforms.common.online.controller.OnlinePageController.delete', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'f9258eaefc164f9db3a6792c03dbaa82', 1429, 'POST', '/admin/online/onlinePage/delete', '{\"pageId\":1809055451229196288}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:47:54');
INSERT INTO `zz_sys_operation_log` VALUES (1809132176877293568, '', 10, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlinePageController', 'com.orangeforms.common.online.controller.OnlinePageController.add', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'f41bdd39fc984cf38b2cca8ccbefaaa1', 343, 'POST', '/admin/online/onlinePage/add', '{\"onlinePageDto\":{\"pageCode\":\"flowLeave\",\"pageName\":\"请假申请\",\"pageType\":10,\"status\":1}}', '{\"data\":1809132177523216384,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:48:18');
INSERT INTO `zz_sys_operation_log` VALUES (1809132250441191424, '', 10, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineDatasourceController', 'com.orangeforms.common.online.controller.OnlineDatasourceController.add', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '0db3da9d6b6048bab73a3fe445297ae1', 1653, 'POST', '/admin/online/onlineDatasource/add', '{\"onlineDatasourceDto\":{\"datasourceName\":\"请假申请\",\"dblinkId\":1809055300360081408,\"masterTableName\":\"zz_test_flow_leave\",\"variableName\":\"dsLeave\"},\"pageId\":1809132177523216384}', '{\"data\":1809132255981867008,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:48:35');
INSERT INTO `zz_sys_operation_log` VALUES (1809132300521181184, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '58819dae9e9f442fb21f5cadb3c5d326', 270, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"请假用户\",\"columnId\":1809132252425097216,\"columnName\":\"user_id\",\"columnShowOrder\":2,\"columnType\":\"bigint\",\"deptFilter\":false,\"fieldKind\":21,\"filterType\":0,\"fullColumnType\":\"bigint\",\"nullable\":false,\"numericPrecision\":19,\"objectFieldName\":\"userId\",\"objectFieldType\":\"Long\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:48:47');
INSERT INTO `zz_sys_operation_log` VALUES (1809132348223000576, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '4e7166af1f55482ea6189787d6a661fe', 267, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"开始时间\",\"columnId\":1809132253733720064,\"columnName\":\"leave_begin_time\",\"columnShowOrder\":5,\"columnType\":\"datetime\",\"deptFilter\":false,\"filterType\":0,\"fullColumnType\":\"datetime\",\"nullable\":false,\"objectFieldName\":\"leaveBeginTime\",\"objectFieldType\":\"Date\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:48:59');
INSERT INTO `zz_sys_operation_log` VALUES (1809132364907941888, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '5ea928dfa368402b9bcd8a8259c93097', 256, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"结束时间\",\"columnId\":1809132254102818816,\"columnName\":\"leave_end_time\",\"columnShowOrder\":6,\"columnType\":\"datetime\",\"deptFilter\":false,\"filterType\":0,\"fullColumnType\":\"datetime\",\"nullable\":false,\"objectFieldName\":\"leaveEndTime\",\"objectFieldType\":\"Date\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:49:03');
INSERT INTO `zz_sys_operation_log` VALUES (1809132399720665088, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'a0c6b421cd5f4f0aa6810db4abe0d301', 683, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"申请时间\",\"columnId\":1809132254388031488,\"columnName\":\"apply_time\",\"columnShowOrder\":7,\"columnType\":\"datetime\",\"deptFilter\":false,\"fieldKind\":20,\"filterType\":0,\"fullColumnType\":\"datetime\",\"nullable\":false,\"objectFieldName\":\"applyTime\",\"objectFieldType\":\"Date\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:49:11');
INSERT INTO `zz_sys_operation_log` VALUES (1809132453835575296, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '4a0b9a2c8a614820941b95772b82e6ba', 366, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"最后审批状态\",\"columnId\":1809132254782296064,\"columnName\":\"approval_status\",\"columnShowOrder\":8,\"columnType\":\"int\",\"deptFilter\":false,\"fieldKind\":26,\"filterType\":0,\"fullColumnType\":\"int\",\"nullable\":true,\"numericPrecision\":10,\"objectFieldName\":\"approvalStatus\",\"objectFieldType\":\"Integer\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:49:24');
INSERT INTO `zz_sys_operation_log` VALUES (1809132505723310080, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'e54070a44ae2487bb4810a3d920d7988', 1179, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"流程状态\",\"columnId\":1809132255327555584,\"columnName\":\"flow_status\",\"columnShowOrder\":9,\"columnType\":\"int\",\"deptFilter\":false,\"fieldKind\":26,\"filterType\":0,\"fullColumnType\":\"int\",\"nullable\":true,\"numericPrecision\":10,\"objectFieldName\":\"flowStatus\",\"objectFieldType\":\"Integer\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:49:36');
INSERT INTO `zz_sys_operation_log` VALUES (1809132536761159680, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '5f0e57d9c5df44a3907bd4878183c68a', 271, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"流程状态\",\"columnId\":1809132255327555584,\"columnName\":\"flow_status\",\"columnShowOrder\":9,\"columnType\":\"int\",\"deptFilter\":false,\"fieldKind\":25,\"filterType\":0,\"fullColumnType\":\"int\",\"nullable\":true,\"numericPrecision\":10,\"objectFieldName\":\"flowStatus\",\"objectFieldType\":\"Integer\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:49:43');
INSERT INTO `zz_sys_operation_log` VALUES (1809132559511064576, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '28063f6a43804db882504597d2d77353', 306, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"用户名\",\"columnId\":1809132255679877120,\"columnName\":\"username\",\"columnShowOrder\":10,\"columnType\":\"varchar\",\"deptFilter\":false,\"filterType\":0,\"fullColumnType\":\"varchar(255)\",\"nullable\":true,\"objectFieldName\":\"username\",\"objectFieldType\":\"String\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:49:49');
INSERT INTO `zz_sys_operation_log` VALUES (1809132570206539776, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlinePageController', 'com.orangeforms.common.online.controller.OnlinePageController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '48ce554a01704633a62a3aabbc394b2f', 210, 'POST', '/admin/online/onlinePage/update', '{\"onlinePageDto\":{\"pageCode\":\"flowLeave\",\"pageId\":1809132177523216384,\"pageName\":\"请假申请\",\"pageType\":10,\"status\":2}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:49:51');
INSERT INTO `zz_sys_operation_log` VALUES (1809132634748489728, '', 10, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineFormController', 'com.orangeforms.common.online.controller.OnlineFormController.add', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '546500c7cc10417d91f89582652f820b', 506, 'POST', '/admin/online/onlineForm/add', '{\"onlineFormDto\":{\"datasourceIdList\":[1809132255981867008],\"formCode\":\"formFlowLeave\",\"formKind\":5,\"formName\":\"请假申请\",\"formType\":10,\"masterTableId\":1809132251556876288,\"pageId\":1809132177523216384,\"paramsJson\":\"[]\",\"widgetJson\":\"{\\\"pc\\\":{\\\"gutter\\\":20,\\\"labelWidth\\\":100,\\\"labelPosition\\\":\\\"right\\\",\\\"customFieldList\\\":[],\\\"widgetList\\\":[],\\\"formEventList\\\":[],\\\"maskFieldList\\\":[],\\\"allowEventList\\\":[\\\"formCreated\\\",\\\"afterLoadFormData\\\",\\\"beforeCommitFormData\\\"],\\\"fullscreen\\\":true,\\\"supportOperation\\\":false,\\\"width\\\":800}}\"}}', '{\"data\":1809132635633487872,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:50:07');
INSERT INTO `zz_sys_operation_log` VALUES (1809133545088618496, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '413482d6eeac4cdcb05b7423026c3f8d', 306, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"请假类型\",\"columnId\":1809132253377204224,\"columnName\":\"leave_type\",\"columnShowOrder\":4,\"columnType\":\"int\",\"deptFilter\":false,\"filterType\":0,\"fullColumnType\":\"int\",\"nullable\":false,\"numericPrecision\":10,\"objectFieldName\":\"leaveType\",\"objectFieldType\":\"Integer\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:53:44');
INSERT INTO `zz_sys_operation_log` VALUES (1809133558430699520, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '9dad13d8ce3d4e94b0bf01b544f0c04b', 329, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"请假原因\",\"columnId\":1809132252852916224,\"columnName\":\"leave_reason\",\"columnShowOrder\":3,\"columnType\":\"varchar\",\"deptFilter\":false,\"filterType\":0,\"fullColumnType\":\"varchar(512)\",\"nullable\":false,\"objectFieldName\":\"leaveReason\",\"objectFieldType\":\"String\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:53:47');
INSERT INTO `zz_sys_operation_log` VALUES (1809133570850033664, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '6573018ce2c547b8ab633c45affb8094', 294, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"开始时间\",\"columnId\":1809132253733720064,\"columnName\":\"leave_begin_time\",\"columnShowOrder\":5,\"columnType\":\"datetime\",\"deptFilter\":false,\"filterType\":0,\"fullColumnType\":\"datetime\",\"nullable\":false,\"objectFieldName\":\"leaveBeginTime\",\"objectFieldType\":\"Date\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:53:50');
INSERT INTO `zz_sys_operation_log` VALUES (1809133584934506496, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '3c4aad5641704fd991b3b9717d60f039', 386, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"结束时间\",\"columnId\":1809132254102818816,\"columnName\":\"leave_end_time\",\"columnShowOrder\":6,\"columnType\":\"datetime\",\"deptFilter\":false,\"filterType\":0,\"fullColumnType\":\"datetime\",\"nullable\":false,\"objectFieldName\":\"leaveEndTime\",\"objectFieldType\":\"Date\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:53:53');
INSERT INTO `zz_sys_operation_log` VALUES (1809133598788292608, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '1fd06e9d5bec413a8e1437968ee99920', 327, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"申请时间\",\"columnId\":1809132254388031488,\"columnName\":\"apply_time\",\"columnShowOrder\":7,\"columnType\":\"datetime\",\"deptFilter\":false,\"fieldKind\":20,\"filterType\":0,\"fullColumnType\":\"datetime\",\"nullable\":false,\"objectFieldName\":\"applyTime\",\"objectFieldType\":\"Date\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:53:57');
INSERT INTO `zz_sys_operation_log` VALUES (1809133609777369088, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineColumnController', 'com.orangeforms.common.online.controller.OnlineColumnController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '67104da4ba934ce9904d3c5c646b4836', 281, 'POST', '/admin/online/onlineColumn/update', '{\"onlineColumnDto\":{\"autoIncrement\":false,\"columnComment\":\"最后审批状态\",\"columnId\":1809132254782296064,\"columnName\":\"approval_status\",\"columnShowOrder\":8,\"columnType\":\"int\",\"deptFilter\":false,\"fieldKind\":26,\"filterType\":0,\"fullColumnType\":\"int\",\"nullable\":true,\"numericPrecision\":10,\"objectFieldName\":\"approvalStatus\",\"objectFieldType\":\"Integer\",\"parentKey\":false,\"primaryKey\":false,\"tableId\":1809132251556876288,\"uploadFileSystemType\":0,\"userFilter\":false}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:53:59');
INSERT INTO `zz_sys_operation_log` VALUES (1809133618182754304, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlinePageController', 'com.orangeforms.common.online.controller.OnlinePageController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'f3aea6a5c397400eb272d364f6b1870e', 218, 'POST', '/admin/online/onlinePage/update', '{\"onlinePageDto\":{\"pageCode\":\"flowLeave\",\"pageId\":1809132177523216384,\"pageName\":\"请假申请\",\"pageType\":10,\"status\":2}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 15:54:01');
INSERT INTO `zz_sys_operation_log` VALUES (1809143621992058880, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineFormController', 'com.orangeforms.common.online.controller.OnlineFormController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'ec8cccdd9b5c42e69b2f100bc1307a59', 636, 'POST', '/admin/online/onlineForm/update', '{\"onlineFormDto\":{\"datasourceIdList\":[1809132255981867008],\"formCode\":\"formFlowLeave\",\"formId\":1809132635633487872,\"formKind\":5,\"formName\":\"请假申请\",\"formType\":10,\"masterTableId\":1809132251556876288,\"pageId\":1809132177523216384,\"widgetJson\":\"{\\\"pc\\\":{\\\"gutter\\\":20,\\\"labelWidth\\\":100,\\\"labelPosition\\\":\\\"right\\\",\\\"operationList\\\":[],\\\"customFieldList\\\":[],\\\"widgetList\\\":[{\\\"widgetType\\\":1,\\\"bindData\\\":{\\\"defaultValue\\\":{},\\\"tableId\\\":\\\"1809132251556876288\\\",\\\"columnId\\\":\\\"1809132252852916224\\\",\\\"dataType\\\":0},\\\"showName\\\":\\\"请假原因\\\",\\\"variableName\\\":\\\"leaveReason\\\",\\\"props\\\":{\\\"span\\\":24,\\\"type\\\":\\\"text\\\",\\\"placeholder\\\":\\\"\\\",\\\"show-password\\\":false,\\\"show-word-limit\\\":false,\\\"required\\\":true,\\\"disabled\\\":false,\\\"dictInfo\\\":{\\\"paramList\\\":[]},\\\"actions\\\":{}},\\\"eventList\\\":[],\\\"childWidgetList\\\":[],\\\"style\\\":{},\\\"supportOperation\\\":false}],\\\"formEventList\\\":[],\\\"maskFieldList\\\":[],\\\"width\\\":800,\\\"fullscreen\\\":true}}\"}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:33:46');
INSERT INTO `zz_sys_operation_log` VALUES (1809143691172909056, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineFormController', 'com.orangeforms.common.online.controller.OnlineFormController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'dc39d01f441c439fa6f3e36eaf50529b', 405, 'POST', '/admin/online/onlineForm/update', '{\"onlineFormDto\":{\"datasourceIdList\":[1809132255981867008],\"formCode\":\"formFlowLeave\",\"formId\":1809132635633487872,\"formKind\":5,\"formName\":\"请假申请\",\"formType\":10,\"masterTableId\":1809132251556876288,\"pageId\":1809132177523216384,\"widgetJson\":\"{\\\"pc\\\":{\\\"gutter\\\":20,\\\"labelWidth\\\":100,\\\"labelPosition\\\":\\\"right\\\",\\\"operationList\\\":[],\\\"customFieldList\\\":[],\\\"widgetList\\\":[{\\\"widgetType\\\":3,\\\"bindData\\\":{\\\"defaultValue\\\":{},\\\"tableId\\\":\\\"1809132251556876288\\\",\\\"columnId\\\":\\\"1809132253377204224\\\",\\\"dataType\\\":0},\\\"showName\\\":\\\"请假类型\\\",\\\"variableName\\\":\\\"leaveType\\\",\\\"props\\\":{\\\"span\\\":24,\\\"placeholder\\\":\\\"\\\",\\\"step\\\":1,\\\"controls\\\":true,\\\"required\\\":true,\\\"disabled\\\":false,\\\"dictInfo\\\":{\\\"paramList\\\":[]},\\\"actions\\\":{}},\\\"eventList\\\":[],\\\"childWidgetList\\\":[],\\\"style\\\":{},\\\"supportOperation\\\":false},{\\\"widgetType\\\":1,\\\"bindData\\\":{\\\"defaultValue\\\":{},\\\"tableId\\\":\\\"1809132251556876288\\\",\\\"columnId\\\":\\\"1809132252852916224\\\",\\\"dataType\\\":0},\\\"showName\\\":\\\"请假原因\\\",\\\"variableName\\\":\\\"leaveReason\\\",\\\"props\\\":{\\\"span\\\":24,\\\"type\\\":\\\"text\\\",\\\"placeholder\\\":\\\"\\\",\\\"show-password\\\":false,\\\"show-word-limit\\\":false,\\\"required\\\":true,\\\"disabled\\\":false,\\\"dictInfo\\\":{\\\"paramList\\\":[]},\\\"actions\\\":{}},\\\"eventList\\\":[],\\\"childWidgetList\\\":[],\\\"style\\\":{}}],\\\"formEventList\\\":[],\\\"maskFieldList\\\":[],\\\"width\\\":800,\\\"fullscreen\\\":true}}\"}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:34:03');
INSERT INTO `zz_sys_operation_log` VALUES (1809143765026213888, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlineFormController', 'com.orangeforms.common.online.controller.OnlineFormController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '38feac5b0a75448d8557d336ddbbff53', 590, 'POST', '/admin/online/onlineForm/update', '{\"onlineFormDto\":{\"datasourceIdList\":[1809132255981867008],\"formCode\":\"formFlowLeave\",\"formId\":1809132635633487872,\"formKind\":5,\"formName\":\"请假申请\",\"formType\":10,\"masterTableId\":1809132251556876288,\"pageId\":1809132177523216384,\"widgetJson\":\"{\\\"pc\\\":{\\\"gutter\\\":20,\\\"labelWidth\\\":100,\\\"labelPosition\\\":\\\"right\\\",\\\"operationList\\\":[],\\\"customFieldList\\\":[],\\\"widgetList\\\":[{\\\"widgetType\\\":3,\\\"bindData\\\":{\\\"defaultValue\\\":{},\\\"tableId\\\":\\\"1809132251556876288\\\",\\\"columnId\\\":\\\"1809132253377204224\\\",\\\"dataType\\\":0},\\\"showName\\\":\\\"请假类型\\\",\\\"variableName\\\":\\\"leaveType\\\",\\\"props\\\":{\\\"span\\\":24,\\\"placeholder\\\":\\\"\\\",\\\"step\\\":1,\\\"controls\\\":true,\\\"required\\\":true,\\\"disabled\\\":false,\\\"dictInfo\\\":{\\\"paramList\\\":[]},\\\"actions\\\":{}},\\\"eventList\\\":[],\\\"childWidgetList\\\":[],\\\"style\\\":{}},{\\\"widgetType\\\":1,\\\"bindData\\\":{\\\"defaultValue\\\":{},\\\"tableId\\\":\\\"1809132251556876288\\\",\\\"columnId\\\":\\\"1809132252852916224\\\",\\\"dataType\\\":0},\\\"showName\\\":\\\"请假原因\\\",\\\"variableName\\\":\\\"leaveReason\\\",\\\"props\\\":{\\\"span\\\":24,\\\"type\\\":\\\"text\\\",\\\"placeholder\\\":\\\"\\\",\\\"show-password\\\":false,\\\"show-word-limit\\\":false,\\\"required\\\":true,\\\"disabled\\\":false,\\\"dictInfo\\\":{\\\"paramList\\\":[]},\\\"actions\\\":{}},\\\"eventList\\\":[],\\\"childWidgetList\\\":[],\\\"style\\\":{}},{\\\"widgetType\\\":20,\\\"bindData\\\":{\\\"defaultValue\\\":{},\\\"tableId\\\":\\\"1809132251556876288\\\",\\\"columnId\\\":\\\"1809132253733720064\\\",\\\"dataType\\\":0},\\\"showName\\\":\\\"开始时间\\\",\\\"variableName\\\":\\\"leaveBeginTime\\\",\\\"props\\\":{\\\"span\\\":12,\\\"placeholder\\\":\\\"\\\",\\\"type\\\":\\\"date\\\",\\\"required\\\":true,\\\"disabled\\\":false,\\\"dictInfo\\\":{\\\"paramList\\\":[]},\\\"actions\\\":{}},\\\"eventList\\\":[],\\\"childWidgetList\\\":[],\\\"style\\\":{},\\\"supportOperation\\\":false},{\\\"widgetType\\\":20,\\\"bindData\\\":{\\\"defaultValue\\\":{},\\\"tableId\\\":\\\"1809132251556876288\\\",\\\"columnId\\\":\\\"1809132254102818816\\\",\\\"dataType\\\":0},\\\"showName\\\":\\\"结束时间\\\",\\\"variableName\\\":\\\"leaveEndTime\\\",\\\"props\\\":{\\\"span\\\":12,\\\"placeholder\\\":\\\"\\\",\\\"type\\\":\\\"date\\\",\\\"required\\\":true,\\\"disabled\\\":false,\\\"dictInfo\\\":{\\\"paramList\\\":[]},\\\"actions\\\":{}},\\\"eve', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:34:21');
INSERT INTO `zz_sys_operation_log` VALUES (1809143792943501312, '', 15, 'application-webadmin', 'com.orangeforms.common.online.controller.OnlinePageController', 'com.orangeforms.common.online.controller.OnlinePageController.updateStatus', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'f373e5187505453b8a73de82f3487b77', 307, 'POST', '/admin/online/onlinePage/updatePublished', '{\"published\":true,\"pageId\":1809132177523216384}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:34:27');
INSERT INTO `zz_sys_operation_log` VALUES (1809143848773881856, '', 20, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.delete', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '9a4914d35bed44ad9363c8d9152f09ba', 374, 'POST', '/admin/flow/flowEntry/delete', '{\"entryId\":1809052045395628032}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:34:40');
INSERT INTO `zz_sys_operation_log` VALUES (1809143990952398848, '', 10, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.add', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '280442aa890542d8b436c40e8b65c3c8', 564, 'POST', '/admin/flow/flowEntry/add', '{\"flowEntryDto\":{\"bindFormType\":0,\"categoryId\":1809051198460792832,\"defaultFormId\":1809132635633487872,\"diagramType\":0,\"encodedRule\":\"{\\\"middle\\\":\\\"DD\\\",\\\"idWidth\\\":5,\\\"prefix\\\":\\\"LL\\\",\\\"precisionTo\\\":\\\"DAYS\\\",\\\"calculateWhenView\\\":true}\",\"extensionData\":\"{\\\"approvalStatusDict\\\":[{\\\"id\\\":1,\\\"name\\\":\\\"同意\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"拒绝\\\"},{\\\"id\\\":3,\\\"name\\\":\\\"驳回\\\"},{\\\"id\\\":4,\\\"name\\\":\\\"会签同意\\\"},{\\\"id\\\":5,\\\"name\\\":\\\"会签拒绝\\\"}],\\\"notifyTypes\\\":[\\\"email\\\"],\\\"cascadeDeleteBusinessData\\\":true,\\\"supportRevive\\\":false}\",\"pageId\":1809132177523216384,\"processDefinitionKey\":\"flowLeave\",\"processDefinitionName\":\"请假申请\"}}', '{\"data\":1809143991627681792,\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:35:14');
INSERT INTO `zz_sys_operation_log` VALUES (1809144002897776640, '', 15, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '059610f822e649e894e551173c416ac0', 249, 'POST', '/admin/flow/flowEntry/update', '{\"flowEntryDto\":{\"bindFormType\":0,\"categoryId\":1809051198460792832,\"defaultFormId\":1809132635633487872,\"diagramType\":0,\"encodedRule\":\"{\\\"middle\\\":\\\"DD\\\",\\\"idWidth\\\":5,\\\"prefix\\\":\\\"LL\\\",\\\"precisionTo\\\":\\\"DAYS\\\",\\\"calculateWhenView\\\":true}\",\"entryId\":1809143991627681792,\"extensionData\":\"{\\\"approvalStatusDict\\\":[{\\\"id\\\":1,\\\"name\\\":\\\"同意\\\",\\\"_X_ROW_KEY\\\":\\\"row_57\\\"},{\\\"id\\\":2,\\\"name\\\":\\\"拒绝\\\",\\\"_X_ROW_KEY\\\":\\\"row_58\\\"},{\\\"id\\\":3,\\\"name\\\":\\\"驳回\\\",\\\"_X_ROW_KEY\\\":\\\"row_59\\\"},{\\\"id\\\":4,\\\"name\\\":\\\"会签同意\\\",\\\"_X_ROW_KEY\\\":\\\"row_60\\\"},{\\\"id\\\":5,\\\"name\\\":\\\"会签拒绝\\\",\\\"_X_ROW_KEY\\\":\\\"row_61\\\"}],\\\"notifyTypes\\\":[\\\"email\\\"],\\\"cascadeDeleteBusinessData\\\":true,\\\"supportRevive\\\":false}\",\"pageId\":1809132177523216384,\"processDefinitionKey\":\"flowLeave\",\"processDefinitionName\":\"请假申请\"}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:35:17');
INSERT INTO `zz_sys_operation_log` VALUES (1809144278463549440, '', 15, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'c0aff90acd7542fc905229d237403dcc', 304, 'POST', '/admin/flow/flowEntry/update', '{\"flowEntryDto\":{\"bindFormType\":0,\"bpmnXml\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<bpmn2:definitions xmlns:xsi=\\\"http://www.w3.org/2001/XMLSchema-instance\\\" xmlns:bpmn2=\\\"http://www.omg.org/spec/BPMN/20100524/MODEL\\\" xmlns:bpmndi=\\\"http://www.omg.org/spec/BPMN/20100524/DI\\\" xmlns:dc=\\\"http://www.omg.org/spec/DD/20100524/DC\\\" xmlns:di=\\\"http://www.omg.org/spec/DD/20100524/DI\\\" xmlns:flowable=\\\"http://flowable.org/bpmn\\\" id=\\\"diagram_flowLeave\\\" targetNamespace=\\\"http://flowable.org/bpmn\\\" xsi:schemaLocation=\\\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\\\">\\n  <bpmn2:process id=\\\"flowLeave\\\" name=\\\"请假申请\\\" isExecutable=\\\"true\\\">\\n    <bpmn2:extensionElements>\\n      <flowable:properties>\\n        <flowable:property name=\\\"$OrangeDiagramType\\\" value=\\\"0\\\" />\\n      </flowable:properties>\\n    </bpmn2:extensionElements>\\n    <bpmn2:startEvent id=\\\"Event_04b3gd5\\\">\\n      <bpmn2:outgoing>Flow_0d86buw</bpmn2:outgoing>\\n    </bpmn2:startEvent>\\n    <bpmn2:sequenceFlow id=\\\"Flow_0d86buw\\\" sourceRef=\\\"Event_04b3gd5\\\" targetRef=\\\"Activity_0vjtv0p\\\" />\\n    <bpmn2:sequenceFlow id=\\\"Flow_1u40dt7\\\" sourceRef=\\\"Activity_0vjtv0p\\\" targetRef=\\\"Activity_06g14pf\\\" />\\n    <bpmn2:sequenceFlow id=\\\"Flow_05s1j0n\\\" sourceRef=\\\"Activity_06g14pf\\\" targetRef=\\\"Activity_0dn7u52\\\" />\\n    <bpmn2:endEvent id=\\\"Event_0ity5wg\\\">\\n      <bpmn2:incoming>Flow_1bxwcza</bpmn2:incoming>\\n    </bpmn2:endEvent>\\n    <bpmn2:sequenceFlow id=\\\"Flow_1bxwcza\\\" sourceRef=\\\"Activity_0dn7u52\\\" targetRef=\\\"Event_0ity5wg\\\" />\\n    <bpmn2:userTask id=\\\"Activity_0vjtv0p\\\" name=\\\"录入\\\" flowable:formKey=\\\"{&#34;formId&#34;:&#34;1809132635633487872&#34;,&#34;readOnly&#34;:false,&#34;groupType&#34;:&#34;ASSIGNEE&#34;}\\\">\\n      <bpmn2:extensionElements>\\n        <flowable:variableList />\\n        <flowable:copyItemList />\\n        <flowable:operationList>\\n          <flowable:formOperation id=\\\"1720168540672\\\" label=\\\"同意\\\" type=\\\"agree\\\" showOrder=\\\"0\\\" />\\n        </flowable:operationList>\\n      </bpmn', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:36:23');
INSERT INTO `zz_sys_operation_log` VALUES (1809144307156783104, '', 15, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'ba9ce16bec644757a8d9426c97ead10e', 230, 'POST', '/admin/flow/flowEntry/update', '{\"flowEntryDto\":{\"bindFormType\":0,\"bpmnXml\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<bpmn2:definitions xmlns:xsi=\\\"http://www.w3.org/2001/XMLSchema-instance\\\" xmlns:bpmn2=\\\"http://www.omg.org/spec/BPMN/20100524/MODEL\\\" xmlns:bpmndi=\\\"http://www.omg.org/spec/BPMN/20100524/DI\\\" xmlns:dc=\\\"http://www.omg.org/spec/DD/20100524/DC\\\" xmlns:di=\\\"http://www.omg.org/spec/DD/20100524/DI\\\" xmlns:flowable=\\\"http://flowable.org/bpmn\\\" id=\\\"diagram_flowLeave\\\" targetNamespace=\\\"http://flowable.org/bpmn\\\" xsi:schemaLocation=\\\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\\\">\\n  <bpmn2:process id=\\\"flowLeave\\\" name=\\\"请假申请\\\" isExecutable=\\\"true\\\">\\n    <bpmn2:extensionElements>\\n      <flowable:properties>\\n        <flowable:property name=\\\"$OrangeDiagramType\\\" value=\\\"0\\\" />\\n      </flowable:properties>\\n    </bpmn2:extensionElements>\\n    <bpmn2:startEvent id=\\\"Event_04b3gd5\\\">\\n      <bpmn2:outgoing>Flow_0d86buw</bpmn2:outgoing>\\n    </bpmn2:startEvent>\\n    <bpmn2:sequenceFlow id=\\\"Flow_0d86buw\\\" sourceRef=\\\"Event_04b3gd5\\\" targetRef=\\\"Activity_0vjtv0p\\\" />\\n    <bpmn2:sequenceFlow id=\\\"Flow_1u40dt7\\\" sourceRef=\\\"Activity_0vjtv0p\\\" targetRef=\\\"Activity_06g14pf\\\" />\\n    <bpmn2:sequenceFlow id=\\\"Flow_05s1j0n\\\" sourceRef=\\\"Activity_06g14pf\\\" targetRef=\\\"Activity_0dn7u52\\\" />\\n    <bpmn2:endEvent id=\\\"Event_0ity5wg\\\">\\n      <bpmn2:incoming>Flow_1bxwcza</bpmn2:incoming>\\n    </bpmn2:endEvent>\\n    <bpmn2:sequenceFlow id=\\\"Flow_1bxwcza\\\" sourceRef=\\\"Activity_0dn7u52\\\" targetRef=\\\"Event_0ity5wg\\\" />\\n    <bpmn2:userTask id=\\\"Activity_0vjtv0p\\\" name=\\\"录入\\\" flowable:formKey=\\\"{&#34;formId&#34;:&#34;1809132635633487872&#34;,&#34;readOnly&#34;:false,&#34;groupType&#34;:&#34;ASSIGNEE&#34;}\\\">\\n      <bpmn2:extensionElements>\\n        <flowable:variableList />\\n        <flowable:copyItemList />\\n        <flowable:operationList>\\n          <flowable:formOperation id=\\\"1720168540672\\\" label=\\\"同意\\\" type=\\\"agree\\\" showOrder=\\\"0\\\" />\\n        </flowable:operationList>\\n      </bpmn', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:36:30');
INSERT INTO `zz_sys_operation_log` VALUES (1809144329797636096, '', 15, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '9f16afeb8a6247749079d8107317b0b0', 278, 'POST', '/admin/flow/flowEntry/update', '{\"flowEntryDto\":{\"bindFormType\":0,\"bpmnXml\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<bpmn2:definitions xmlns:xsi=\\\"http://www.w3.org/2001/XMLSchema-instance\\\" xmlns:bpmn2=\\\"http://www.omg.org/spec/BPMN/20100524/MODEL\\\" xmlns:bpmndi=\\\"http://www.omg.org/spec/BPMN/20100524/DI\\\" xmlns:dc=\\\"http://www.omg.org/spec/DD/20100524/DC\\\" xmlns:di=\\\"http://www.omg.org/spec/DD/20100524/DI\\\" xmlns:flowable=\\\"http://flowable.org/bpmn\\\" id=\\\"diagram_flowLeave\\\" targetNamespace=\\\"http://flowable.org/bpmn\\\" xsi:schemaLocation=\\\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\\\">\\n  <bpmn2:process id=\\\"flowLeave\\\" name=\\\"请假申请\\\" isExecutable=\\\"true\\\">\\n    <bpmn2:extensionElements>\\n      <flowable:properties>\\n        <flowable:property name=\\\"$OrangeDiagramType\\\" value=\\\"0\\\" />\\n      </flowable:properties>\\n    </bpmn2:extensionElements>\\n    <bpmn2:startEvent id=\\\"Event_04b3gd5\\\">\\n      <bpmn2:outgoing>Flow_0d86buw</bpmn2:outgoing>\\n    </bpmn2:startEvent>\\n    <bpmn2:sequenceFlow id=\\\"Flow_0d86buw\\\" sourceRef=\\\"Event_04b3gd5\\\" targetRef=\\\"Activity_0vjtv0p\\\" />\\n    <bpmn2:sequenceFlow id=\\\"Flow_1u40dt7\\\" sourceRef=\\\"Activity_0vjtv0p\\\" targetRef=\\\"Activity_06g14pf\\\" />\\n    <bpmn2:sequenceFlow id=\\\"Flow_05s1j0n\\\" sourceRef=\\\"Activity_06g14pf\\\" targetRef=\\\"Activity_0dn7u52\\\" />\\n    <bpmn2:endEvent id=\\\"Event_0ity5wg\\\">\\n      <bpmn2:incoming>Flow_1bxwcza</bpmn2:incoming>\\n    </bpmn2:endEvent>\\n    <bpmn2:sequenceFlow id=\\\"Flow_1bxwcza\\\" sourceRef=\\\"Activity_0dn7u52\\\" targetRef=\\\"Event_0ity5wg\\\" />\\n    <bpmn2:userTask id=\\\"Activity_0vjtv0p\\\" name=\\\"录入\\\" flowable:formKey=\\\"{&#34;formId&#34;:&#34;1809132635633487872&#34;,&#34;readOnly&#34;:false,&#34;groupType&#34;:&#34;ASSIGNEE&#34;}\\\" flowable:assignee=\\\"${startUserName}\\\">\\n      <bpmn2:extensionElements>\\n        <flowable:operationList>\\n          <flowable:formOperation id=\\\"1720168540672\\\" label=\\\"同意\\\" type=\\\"agree\\\" showOrder=\\\"0\\\" />\\n        </flowable:operationList>\\n        <flowable:variableList />\\n        ', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:36:35');
INSERT INTO `zz_sys_operation_log` VALUES (1809144345769545728, '', 15, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.update', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'e16fbd18283347a6bb899a40fac80441', 238, 'POST', '/admin/flow/flowEntry/update', '{\"flowEntryDto\":{\"bindFormType\":0,\"bpmnXml\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<bpmn2:definitions xmlns:xsi=\\\"http://www.w3.org/2001/XMLSchema-instance\\\" xmlns:bpmn2=\\\"http://www.omg.org/spec/BPMN/20100524/MODEL\\\" xmlns:bpmndi=\\\"http://www.omg.org/spec/BPMN/20100524/DI\\\" xmlns:dc=\\\"http://www.omg.org/spec/DD/20100524/DC\\\" xmlns:di=\\\"http://www.omg.org/spec/DD/20100524/DI\\\" xmlns:flowable=\\\"http://flowable.org/bpmn\\\" id=\\\"diagram_flowLeave\\\" targetNamespace=\\\"http://flowable.org/bpmn\\\" xsi:schemaLocation=\\\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\\\">\\n  <bpmn2:process id=\\\"flowLeave\\\" name=\\\"请假申请\\\" isExecutable=\\\"true\\\">\\n    <bpmn2:extensionElements>\\n      <flowable:properties>\\n        <flowable:property name=\\\"$OrangeDiagramType\\\" value=\\\"0\\\" />\\n      </flowable:properties>\\n    </bpmn2:extensionElements>\\n    <bpmn2:startEvent id=\\\"Event_04b3gd5\\\">\\n      <bpmn2:outgoing>Flow_0d86buw</bpmn2:outgoing>\\n    </bpmn2:startEvent>\\n    <bpmn2:sequenceFlow id=\\\"Flow_0d86buw\\\" sourceRef=\\\"Event_04b3gd5\\\" targetRef=\\\"Activity_0vjtv0p\\\" />\\n    <bpmn2:sequenceFlow id=\\\"Flow_1u40dt7\\\" sourceRef=\\\"Activity_0vjtv0p\\\" targetRef=\\\"Activity_06g14pf\\\" />\\n    <bpmn2:sequenceFlow id=\\\"Flow_05s1j0n\\\" sourceRef=\\\"Activity_06g14pf\\\" targetRef=\\\"Activity_0dn7u52\\\" />\\n    <bpmn2:endEvent id=\\\"Event_0ity5wg\\\">\\n      <bpmn2:incoming>Flow_1bxwcza</bpmn2:incoming>\\n    </bpmn2:endEvent>\\n    <bpmn2:sequenceFlow id=\\\"Flow_1bxwcza\\\" sourceRef=\\\"Activity_0dn7u52\\\" targetRef=\\\"Event_0ity5wg\\\" />\\n    <bpmn2:userTask id=\\\"Activity_0vjtv0p\\\" name=\\\"录入\\\" flowable:formKey=\\\"{&#34;formId&#34;:&#34;1809132635633487872&#34;,&#34;readOnly&#34;:false,&#34;groupType&#34;:&#34;ASSIGNEE&#34;}\\\" flowable:assignee=\\\"${startUserName}\\\">\\n      <bpmn2:extensionElements>\\n        <flowable:variableList />\\n        <flowable:copyItemList />\\n        <flowable:operationList>\\n          <flowable:formOperation id=\\\"1720168540672\\\" label=\\\"同意\\\" type=\\\"agree\\\" showOrder=\\\"0\\\" />\\n        ', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:36:39');
INSERT INTO `zz_sys_operation_log` VALUES (1809144417529892864, '', 65, 'application-webadmin', 'com.orangeforms.common.flow.controller.FlowEntryController', 'com.orangeforms.common.flow.controller.FlowEntryController.publish', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'b71e69dbde6b4f868601d8c9a42f0e03', 3149, 'POST', '/admin/flow/flowEntry/publish', '{\"entryId\":1809143991627681792}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:36:56');
INSERT INTO `zz_sys_operation_log` VALUES (1809146479772700672, '', 100, 'application-webadmin', 'com.orangeforms.common.flow.online.controller.FlowOnlineOperationController', 'com.orangeforms.common.flow.online.controller.FlowOnlineOperationController.startPreview', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', '8cd4a46b301a48de878e676ce5aadd47', 3835, 'POST', '/admin/flow/flowOnlineOperation/startPreview', '{\"masterData\":{\"leave_begin_time\":\"2024-07-05 00:00:00\",\"leave_type\":1,\"leave_reason\":\"111\",\"leave_end_time\":\"2024-07-08 00:00:00\"},\"flowTaskCommentDto\":{\"approvalType\":\"agree\"},\"taskVariableData\":{},\"processDefinitionKey\":\"flowLeave\",\"copyData\":{}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:45:08');
INSERT INTO `zz_sys_operation_log` VALUES (1809146595745206272, '', 120, 'application-webadmin', 'com.orangeforms.common.flow.online.controller.FlowOnlineOperationController', 'com.orangeforms.common.flow.online.controller.FlowOnlineOperationController.submitUserTask', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'eadd3fe01b3244a4826a245ae15c328f', 2462, 'POST', '/admin/flow/flowOnlineOperation/submitUserTask', '{\"processInstanceId\":\"e1fb2ada-3aaa-11ef-86ec-acde48001122\",\"masterData\":{\"leave_begin_time\":\"2024-07-05 00:00:00\",\"leave_type\":1,\"user_id\":\"1808020007993479168\",\"apply_time\":\"2024-07-05 16:45:08\",\"id\":\"1809146480452177920\",\"leave_reason\":\"111\",\"leave_end_time\":\"2024-07-08 00:00:00\"},\"flowTaskCommentDto\":{\"approvalType\":\"agree\",\"taskComment\":\"11\"},\"taskVariableData\":{},\"taskId\":\"e322e20d-3aaa-11ef-86ec-acde48001122\",\"copyData\":{}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:45:35');
INSERT INTO `zz_sys_operation_log` VALUES (1809146772417679360, '', 120, 'application-webadmin', 'com.orangeforms.common.flow.online.controller.FlowOnlineOperationController', 'com.orangeforms.common.flow.online.controller.FlowOnlineOperationController.submitUserTask', 'Authorization:login:token-session:9c33d665-b097-42b9-ada3-08b9f2586c94', 'bb806b13041349cc8a12fa2d5de5a028', 2310, 'POST', '/admin/flow/flowOnlineOperation/submitUserTask', '{\"processInstanceId\":\"e1fb2ada-3aaa-11ef-86ec-acde48001122\",\"masterData\":{\"leave_begin_time\":\"2024-07-05 00:00:00\",\"leave_type\":1,\"user_id\":\"1808020007993479168\",\"apply_time\":\"2024-07-05 16:45:08\",\"id\":\"1809146480452177920\",\"leave_reason\":\"111\",\"leave_end_time\":\"2024-07-08 00:00:00\"},\"flowTaskCommentDto\":{\"approvalType\":\"agree\",\"taskComment\":\"44\"},\"taskVariableData\":{},\"taskId\":\"0669cc2a-3aab-11ef-86ec-acde48001122\",\"copyData\":{}}', '{\"errorCode\":\"NO-ERROR\",\"errorMessage\":\"NO-MESSAGE\",\"success\":true}', '192.168.43.167', b'1', NULL, NULL, 1808020007993479168, 'admin', '2024-07-05 16:46:18');
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_perm_whitelist
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_perm_whitelist`;
CREATE TABLE `zz_sys_perm_whitelist` (
  `perm_url` varchar(512) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '权限资源的url',
  `module_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '权限资源所属模块名字(通常是Controller的名字)',
  `perm_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '权限的名称',
  PRIMARY KEY (`perm_url`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='权限资源白名单表(认证用户均可访问的url资源)';

-- ----------------------------
-- Table structure for zz_sys_post
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_post`;
CREATE TABLE `zz_sys_post` (
  `post_id` bigint NOT NULL COMMENT '岗位Id',
  `post_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '岗位名称',
  `post_level` int NOT NULL COMMENT '岗位层级，数值越小级别越高',
  `leader_post` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否领导岗位',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `update_time` datetime NOT NULL COMMENT '最后更新时间',
  PRIMARY KEY (`post_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of zz_sys_post
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_post` VALUES (1809037927934595072, '领导岗位', 1, b'1', 1808020007993479168, '2024-07-05 09:33:47', 1808020007993479168, '2024-07-05 09:33:47');
INSERT INTO `zz_sys_post` VALUES (1809037967663042560, '普通员工', 10, b'0', 1808020007993479168, '2024-07-05 09:33:56', 1808020007993479168, '2024-07-05 09:33:56');
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_role
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_role`;
CREATE TABLE `zz_sys_role` (
  `role_id` bigint NOT NULL COMMENT '主键Id',
  `role_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '角色名称',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `update_time` datetime NOT NULL COMMENT '最后更新时间',
  PRIMARY KEY (`role_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=COMPACT COMMENT='系统角色表';

-- ----------------------------
-- Records of zz_sys_role
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_role` VALUES (1809037772728569856, '查看全部', 1808020007993479168, '2024-07-05 09:33:10', 1808020007993479168, '2024-07-05 09:33:10');
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_role_menu`;
CREATE TABLE `zz_sys_role_menu` (
  `role_id` bigint NOT NULL COMMENT '角色Id',
  `menu_id` bigint NOT NULL COMMENT '菜单Id',
  PRIMARY KEY (`role_id`,`menu_id`) USING BTREE,
  KEY `idx_menu_id` (`menu_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=COMPACT COMMENT='角色与菜单对应关系表';

-- ----------------------------
-- Records of zz_sys_role_menu
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1392786476428693504);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1392786549942259712);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1392786950682841088);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1418057714138877952);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1418057835631087616);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1418058289182150656);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1418058744037642240);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1418059005175009280);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1418059167532322816);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1418059283920064512);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1423161217970606080);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1634009076981567488);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020011080486913);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020012825317376);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020012825317377);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020012825317378);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020012825317379);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020012825317380);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020012825317381);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020012825317384);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020012825317385);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020012825317386);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148866);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148867);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148868);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148869);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148870);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148872);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148873);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148874);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148875);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148876);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148877);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148879);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148880);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148881);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148882);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148883);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148884);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148885);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148886);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148887);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148889);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148890);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148891);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148892);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148893);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148894);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148895);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148896);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148897);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148899);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148900);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148901);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148902);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148903);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148905);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148906);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148907);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075098148908);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075102343171);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075102343172);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075102343173);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075102343174);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075102343175);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075102343177);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075102343179);
INSERT INTO `zz_sys_role_menu` VALUES (1809037772728569856, 1808020075102343180);
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_user
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_user`;
CREATE TABLE `zz_sys_user` (
  `user_id` bigint NOT NULL COMMENT '主键Id',
  `login_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '用户登录名称',
  `password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '密码',
  `show_name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '用户显示名称',
  `dept_id` bigint NOT NULL COMMENT '用户所在部门Id',
  `head_image_url` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '用户头像的Url',
  `user_type` int NOT NULL COMMENT '用户类型(0: 管理员 1: 系统管理用户 2: 系统业务用户)',
  `user_status` int NOT NULL COMMENT '状态(0: 正常 1: 锁定)',
  `email` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '用户邮箱',
  `mobile` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '用户手机',
  `create_user_id` bigint NOT NULL COMMENT '创建者Id',
  `create_time` datetime NOT NULL COMMENT '创建时间',
  `update_user_id` bigint NOT NULL COMMENT '更新者Id',
  `update_time` datetime NOT NULL COMMENT '最后更新时间',
  `deleted_flag` int NOT NULL COMMENT '删除标记(1: 正常 -1: 已删除)',
  PRIMARY KEY (`user_id`) USING BTREE,
  UNIQUE KEY `uk_login_name` (`login_name`) USING BTREE,
  KEY `idx_dept_id` (`dept_id`) USING BTREE,
  KEY `idx_status` (`user_status`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=COMPACT COMMENT='系统用户表';

-- ----------------------------
-- Records of zz_sys_user
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_user` VALUES (1808020007993479168, 'admin', '$2a$10$C1/DwnlXP3s.HOFsmL60Resq0juaRt6/WK8JCzcNbgbpueUMs71Um', '管理员', 1808020008341606402, NULL, 0, 0, NULL, NULL, 1808020007993479168, '2024-07-03 00:00:00', 1808020007993479168, '2024-07-03 00:00:00', 1);
INSERT INTO `zz_sys_user` VALUES (1809038124504846336, 'userA', '$2a$10$perpVEYWNTE0.oP0C7L5beiv1EYs3XEn0qkgOKwB8Rm7p/BDGYLEa', '员工A', 1808020008341606402, NULL, 2, 0, NULL, NULL, 1808020007993479168, '2024-07-05 09:34:34', 1809038124504846336, '2024-07-05 10:23:44', 1);
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_user_post
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_user_post`;
CREATE TABLE `zz_sys_user_post` (
  `user_id` bigint NOT NULL COMMENT '用户Id',
  `dept_post_id` bigint NOT NULL COMMENT '部门岗位Id',
  `post_id` bigint NOT NULL COMMENT '岗位Id',
  PRIMARY KEY (`user_id`,`dept_post_id`) USING BTREE,
  KEY `idx_post_id` (`post_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of zz_sys_user_post
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_user_post` VALUES (1809038124504846336, 1809038003968937984, 1809037967663042560);
COMMIT;

-- ----------------------------
-- Table structure for zz_sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `zz_sys_user_role`;
CREATE TABLE `zz_sys_user_role` (
  `user_id` bigint NOT NULL COMMENT '用户Id',
  `role_id` bigint NOT NULL COMMENT '角色Id',
  PRIMARY KEY (`user_id`,`role_id`) USING BTREE,
  KEY `idx_role_id` (`role_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=COMPACT COMMENT='用户与角色对应关系表';

-- ----------------------------
-- Records of zz_sys_user_role
-- ----------------------------
BEGIN;
INSERT INTO `zz_sys_user_role` VALUES (1809038124504846336, 1809037772728569856);
COMMIT;

-- ----------------------------
-- Table structure for zz_test_flow_leave
-- ----------------------------
DROP TABLE IF EXISTS `zz_test_flow_leave`;
CREATE TABLE `zz_test_flow_leave` (
  `id` bigint NOT NULL COMMENT '主键Id',
  `user_id` bigint NOT NULL COMMENT '请假用户Id',
  `leave_reason` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '请假原因',
  `leave_type` int NOT NULL COMMENT '请假类型',
  `leave_begin_time` datetime NOT NULL COMMENT '请假开始时间',
  `leave_end_time` datetime NOT NULL COMMENT '请假结束时间',
  `apply_time` datetime NOT NULL COMMENT '申请时间',
  `approval_status` int DEFAULT NULL COMMENT '最后审批状态',
  `flow_status` int DEFAULT NULL COMMENT '流程状态',
  `username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '用户名',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_user_id` (`user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of zz_test_flow_leave
-- ----------------------------
BEGIN;
INSERT INTO `zz_test_flow_leave` VALUES (1734132261424467969, 1440911410581213417, '测试', 1, '2023-12-11 00:00:00', '2024-01-02 00:00:00', '2023-12-11 16:45:24', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1734132937084899329, 1440911410581213417, '测试', 1, '2023-12-11 00:00:00', '2024-01-10 00:00:00', '2023-12-11 16:48:05', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1734760286021226497, 1440911410581213417, '22', 2, '2023-12-12 00:00:00', '2023-12-14 00:00:00', '2023-12-13 10:20:57', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1735571074717847553, 1440911410581213417, '123', 1, '2023-12-07 00:00:00', '2023-12-08 00:00:00', '2023-12-15 16:02:44', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1735644235845079041, 1440911410581213417, '111', 1, '2023-12-14 00:00:00', '2023-12-16 00:00:00', '2023-12-15 20:53:27', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1735959007710941185, 1440911410581213417, '123123', 2, '2023-12-16 00:00:00', '2023-12-22 00:00:00', '2023-12-16 17:44:15', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1736002626216005633, 1440911410581213417, '213213', 1, '2023-12-15 00:00:00', '2024-01-18 00:00:00', '2023-12-16 20:37:34', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1736249711238582272, 1440911410581213417, 'qqq', 2, '2023-12-15 00:00:00', '2024-01-17 00:00:00', '2023-12-17 12:59:24', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1736653319645958144, 1440911410581213417, '呃呃呃', 1, '2023-12-18 00:00:00', '2023-12-20 00:00:00', '2023-12-18 15:43:12', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1736916738529824769, 1440911410581213417, '请假', 2, '2023-12-21 00:00:00', '2023-12-23 00:00:00', '2023-12-19 09:09:55', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737101008917499905, 1440911410581213417, 'fff', 3, '2023-12-19 00:00:00', '2023-12-20 00:00:00', '2023-12-19 21:22:09', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737314824108380161, 1440911410581213417, '有事', 1, '2023-12-01 00:00:00', '2023-12-09 00:00:00', '2023-12-20 11:31:46', NULL, 3, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737358381695373313, 1440911410581213417, '123', 2, '2023-12-13 00:00:00', '2024-01-19 00:00:00', '2023-12-20 14:24:51', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737615175483133953, 1440911410581213417, '尴尬', 1, '2023-12-21 00:00:00', '2023-12-22 00:00:00', '2023-12-21 07:25:16', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737641283461058561, 1440911410581213417, '测试', 1, '2023-12-21 00:00:00', '2023-12-28 00:00:00', '2023-12-21 09:09:00', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737646632062685184, 1440911410581213417, '风复古', 1, '2023-12-22 00:00:00', '2023-12-22 00:00:00', '2023-12-21 09:30:16', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737661659834486784, 1440911410581213417, '想咋就咋', 3, '2023-12-22 00:00:00', '2023-12-22 00:00:00', '2023-12-21 10:29:59', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737662716845232128, 1440911410581213417, '黑胡椒', 1, '2023-12-18 00:00:00', '2023-12-22 00:00:00', '2023-12-21 10:34:11', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737666820992667648, 1440911410581213417, '111', 1, '2023-12-22 00:00:00', '2023-12-20 00:00:00', '2023-12-21 10:50:29', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737666823148539905, 1440911410581213417, '111', 1, '2023-12-22 00:00:00', '2023-12-20 00:00:00', '2023-12-21 10:50:30', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737666824016760833, 1440911410581213417, '111', 1, '2023-12-22 00:00:00', '2023-12-20 00:00:00', '2023-12-21 10:50:30', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737666824809484289, 1440911410581213417, '111', 1, '2023-12-22 00:00:00', '2023-12-20 00:00:00', '2023-12-21 10:50:30', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1737747164756447233, 1440911410581213417, 'c', 1, '2023-12-23 00:00:00', '2024-01-13 00:00:00', '2023-12-21 16:09:45', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1738557159815254017, 1440911410581213417, '测试新增', 2, '2023-12-22 00:00:00', '2024-01-12 00:00:00', '2023-12-23 21:48:22', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1738586314833399809, 1440911410581213417, '轻机枪', 1, '2023-12-22 00:00:00', '2023-12-29 00:00:00', '2023-12-23 23:44:13', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1738590302731505665, 1440911410581213417, '测试', 2, '2023-12-23 00:00:00', '2024-01-04 00:00:00', '2023-12-24 00:00:04', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1738593079201370113, 1440911410581213417, '测试', 1, '2024-01-04 00:00:00', '2024-01-11 00:00:00', '2023-12-24 00:11:06', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1738597715752783872, 1440911410581213417, '消息 抄送发', 1, '2023-12-13 00:00:00', '2024-01-25 00:00:00', '2023-12-24 00:29:32', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1738598397780168705, 1440911410581213417, ' 额', 1, '2023-12-13 00:00:00', '2023-12-13 00:00:00', '2023-12-24 00:32:14', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1738614127170949120, 1440911410581213417, '超市那个', 1, '2023-12-13 00:00:00', '2023-12-24 00:00:00', '2023-12-24 01:34:44', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1739529776575549440, 1440911410581213417, '33232', 1, '2023-12-07 00:00:00', '2024-01-16 00:00:00', '2023-12-26 14:13:12', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1739534951415549952, 1440911410581213417, '111', 1, '2024-01-25 00:00:00', '2024-01-27 00:00:00', '2023-12-26 14:33:46', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1739860694376910849, 1440911410581213417, '111', 1, '2023-12-27 00:00:00', '2023-12-28 00:00:00', '2023-12-27 12:08:09', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1740031035300646913, 1440911410581213417, '测试抄送', 1, '2024-01-03 00:00:00', '2024-01-11 00:00:00', '2023-12-27 23:25:02', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1741067028283789313, 1440911410581213417, '测试抄送', 1, '2023-12-29 00:00:00', '2024-02-08 00:00:00', '2023-12-30 20:01:42', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1741068565080969217, 1440911410581213417, '亲近抄送', 1, '2024-02-08 00:00:00', '2024-01-19 00:00:00', '2023-12-30 20:07:48', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1741075078512119809, 1440911410581213417, '测试抄送', 1, '2023-12-30 00:00:00', '2024-01-26 00:00:00', '2023-12-30 20:33:41', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1741077243179831297, 1440911410581213417, '测试抄送', 1, '2023-12-30 00:00:00', '2024-01-12 00:00:00', '2023-12-30 20:42:17', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1741082898645127169, 1440911410581213417, '11111', 1, '2023-12-13 00:00:00', '2023-12-29 00:00:00', '2023-12-30 21:04:45', NULL, 3, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1742075427653947392, 1440911410581213417, '6666', 1, '2024-01-02 00:00:00', '2024-01-27 00:00:00', '2024-01-02 14:48:43', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1743138899498110977, 1440911410581213417, '2222', 1, '2024-01-10 00:00:00', '2024-01-10 00:00:00', '2024-01-05 13:14:34', NULL, 3, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1743236528957558784, 1440911410581213417, 'dsfsadffsdf', 1, '2024-01-09 00:00:00', '2024-01-31 00:00:00', '2024-01-05 19:42:31', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1743236847603027968, 1440911410581213417, 'sdfaff', 1, '2024-01-11 00:00:00', '2024-02-06 00:00:00', '2024-01-05 19:43:47', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1743236894344351745, 1440911410581213417, 'dsfsdfasdf', 1, '2024-01-11 00:00:00', '2024-02-14 00:00:00', '2024-01-05 19:43:58', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1743236965743988737, 1440911410581213417, 'zxczxc', 1, '2024-01-20 00:00:00', '2024-02-12 00:00:00', '2024-01-05 19:44:15', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1743529562567872512, 1440911410581213417, '休息', 1, '2024-01-12 00:00:00', '2024-01-13 00:00:00', '2024-01-06 15:06:56', NULL, 3, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1743570048200478721, 1440911410581213417, '是一款．．是，', 1, '2024-01-07 00:00:00', '2024-01-31 00:00:00', '2024-01-06 17:47:48', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1743847321545740288, 1440911410581213417, '测试请假', 3, '2024-01-08 00:00:00', '2024-01-24 00:00:00', '2024-01-07 12:09:35', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1743848671104995328, 1440911410581213417, '请假新增测试', 1, '2024-01-15 00:00:00', '2024-01-16 00:00:00', '2024-01-07 12:14:57', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1743894439526404097, 1440911410581213417, '测试', 2, '2024-01-07 00:00:00', '2024-01-24 00:00:00', '2024-01-07 15:16:49', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1745342183466078208, 1440911410581213417, 'asdfasdf', 1, '2024-01-02 00:00:00', '2024-02-02 00:00:00', '2024-01-11 15:09:38', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1745343819995418625, 1440911410581213417, 'adfasd', 1, '2024-01-06 00:00:00', '2024-02-06 00:00:00', '2024-01-11 15:16:08', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1745639100335001600, 1440911410581213417, '1234', 1, '2024-01-12 00:00:00', '2024-01-19 00:00:00', '2024-01-12 10:49:29', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1745641568804540417, 1440911410581213417, '123', 1, '2024-01-12 00:00:00', '2024-01-19 00:00:00', '2024-01-12 10:59:17', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1746710995184652289, 1440911410581213417, '11111111111111', 3, '2024-01-16 00:00:00', '2024-01-25 00:00:00', '2024-01-15 09:48:48', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1746821158071701504, 1440911410581213417, 'sfasdf', 1, '2024-02-14 00:00:00', '2024-02-16 00:00:00', '2024-01-15 17:06:33', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1747175673463574529, 1440911410581213417, '1111', 1, '2024-01-16 00:00:00', '2024-01-17 00:00:00', '2024-01-16 16:35:16', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1784199563469393920, 1779777400603676672, '111', 1, '2024-04-01 00:00:00', '2024-04-04 00:00:00', '2024-04-27 20:34:59', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1784202480981118976, 1779777400603676672, '请假', 1, '2024-04-22 00:00:00', '2024-04-24 00:00:00', '2024-04-27 20:46:35', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1784211196795162625, 1779777400603676672, '请假三天', 1, '2024-04-02 00:00:00', '2024-04-05 00:00:00', '2024-04-27 21:21:13', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1784221100561928192, 1779777400603676672, '请假出去玩', 1, '2024-04-08 00:00:00', '2024-04-15 00:00:00', '2024-04-27 22:00:34', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1784556947194777601, 1779777400603676672, '111', 1, '2024-04-03 00:00:00', '2024-04-11 00:00:00', '2024-04-28 20:15:06', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1785508179405180928, 1779777400603676672, '11', 1, '2024-05-08 00:00:00', '2024-05-10 00:00:00', '2024-05-01 11:14:58', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1787771104035606528, 1779777400603676672, '111', 1, '2024-05-07 00:00:00', '2024-05-08 00:00:00', '2024-05-07 17:07:01', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1787771998559014913, 1779777400603676672, '2222', 1, '2024-05-07 00:00:00', '2024-05-15 00:00:00', '2024-05-07 17:10:34', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1787817506019217408, 1779777400603676672, '111', 1, '2024-05-08 00:00:00', '2024-05-16 00:00:00', '2024-05-07 20:11:24', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1787852380893614081, 1779777400603676672, '1111', 1, '2024-05-14 00:00:00', '2024-05-08 00:00:00', '2024-05-07 22:29:59', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1787853112791273472, 1779777400603676672, '1111', 1, '2024-05-08 00:00:00', '2024-05-16 00:00:00', '2024-05-07 22:32:53', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1788107566534889472, 1779777400603676672, '111', 1, '2024-05-08 00:00:00', '2024-05-09 00:00:00', '2024-05-08 15:24:00', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1788112135096635392, 1779777400603676672, '111', 1, '2024-05-08 00:00:00', '2024-05-09 00:00:00', '2024-05-08 15:42:09', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1788112525678612480, 1779777400603676672, '1111', 2, '2024-05-09 00:00:00', '2024-05-10 00:00:00', '2024-05-08 15:43:42', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1788741582820741120, 1779777400603676672, '秀', 2, '2024-05-07 00:00:00', '2024-05-08 00:00:00', '2024-05-10 09:23:21', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1791767263255203841, 1779777400603676672, '1111', 1, '2024-05-20 00:00:00', '2024-05-21 00:00:00', '2024-05-18 17:46:20', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1792492440158998528, 1779777400603676672, '111222', 2, '2024-05-07 00:00:00', '2024-05-22 00:00:00', '2024-05-20 17:47:55', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1792829634757267456, 1779777400603676672, '1111', 2, '2024-05-14 00:00:00', '2024-05-15 00:00:00', '2024-05-21 16:07:49', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1793489840575090688, 1779777400603676672, '1111', 1, '2024-05-16 00:00:00', '2024-05-24 00:00:00', '2024-05-23 11:51:14', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1795696352311644160, 1779777400603676672, 'dd', 1, '2024-05-02 00:00:00', '2024-05-10 00:00:00', '2024-05-29 13:59:07', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1795992839696420865, 1779777400603676672, 'admin', 1, '2024-05-02 00:00:00', '2024-05-18 00:00:00', '2024-05-30 09:37:16', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1795994391077195776, 1779777400603676672, '1111222', 1, '2024-05-15 00:00:00', '2024-05-16 00:00:00', '2024-05-30 09:43:25', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796109769098924033, 1779777400603676672, '1111', 1, '2024-05-08 00:00:00', '2024-05-10 00:00:00', '2024-05-30 17:21:54', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796110123517612032, 1779777400603676672, '1111222', 1, '2024-05-16 00:00:00', '2024-05-18 00:00:00', '2024-05-30 17:23:18', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796164077765005312, 1779777400603676672, 'admin', 1, '2024-05-10 00:00:00', '2024-06-05 00:00:00', '2024-05-30 20:57:42', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796164941607079936, 1779777400603676672, 'admin', 1, '2024-05-17 00:00:00', '2024-06-12 00:00:00', '2024-05-30 21:01:08', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796173926594777088, 1779777400603676672, 'dd', 1, '2024-05-10 00:00:00', '2024-05-09 00:00:00', '2024-05-30 21:36:50', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796178444468359168, 1779777400603676672, 'x', 1, '2024-05-14 00:00:00', '2024-05-15 00:00:00', '2024-05-30 21:54:47', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796181839363182593, 1779777400603676672, '111', 1, '2024-05-16 00:00:00', '2024-06-18 00:00:00', '2024-05-30 22:08:17', NULL, 4, 'admin');
INSERT INTO `zz_test_flow_leave` VALUES (1796182559164469249, 1779777400603676672, '4444', 1, '2024-05-08 00:00:00', '2024-05-10 00:00:00', '2024-05-30 22:11:08', NULL, 4, 'admin');
INSERT INTO `zz_test_flow_leave` VALUES (1796183035536740352, 1779777400603676672, 'dd', 1, '2024-05-18 00:00:00', '2024-05-11 00:00:00', '2024-05-30 22:13:02', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796183248754184192, 1779777400603676672, '11', 1, '2024-05-07 00:00:00', '2024-05-08 00:00:00', '2024-05-30 22:13:53', NULL, 5, 'userTJ2');
INSERT INTO `zz_test_flow_leave` VALUES (1796185777676226560, 1779777400603676672, 'd', 1, '2024-05-09 00:00:00', '2024-05-09 00:00:00', '2024-05-30 22:23:56', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796187020805017600, 1779777400603676672, 'd', 1, '2024-05-03 00:00:00', '2024-05-03 00:00:00', '2024-05-30 22:28:52', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796188059113361408, 1779777400603676672, 'd', 1, '2024-05-17 00:00:00', '2024-05-17 00:00:00', '2024-05-30 22:33:00', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796188876033757184, 1779777400603676672, 'dd', 1, '2024-05-02 00:00:00', '2024-05-02 00:00:00', '2024-05-30 22:36:14', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796189604152348672, 1779777400603676672, 'dd', 1, '2024-05-03 00:00:00', '2024-05-03 00:00:00', '2024-05-30 22:39:08', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796190467956674560, 1779777400603676672, 'dd', 1, '2024-05-10 00:00:00', '2024-05-16 00:00:00', '2024-05-30 22:42:34', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796191454335340544, 1779777400603676672, 'jk', 1, '2024-05-10 00:00:00', '2024-05-02 00:00:00', '2024-05-30 22:46:29', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796192461547114496, 1779777400603676672, 'd', 1, '2024-05-02 00:00:00', '2024-05-09 00:00:00', '2024-05-30 22:50:29', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796195394187694080, 1779777400603676672, 'dd', 1, '2024-05-03 00:00:00', '2024-05-10 00:00:00', '2024-05-30 23:02:08', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796197180806008832, 1779777400603676672, 'ddd', 1, '2024-05-10 00:00:00', '2024-05-10 00:00:00', '2024-05-30 23:09:14', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796201309611757568, 1779777400603676672, 'dd', 1, '2024-05-17 00:00:00', '2024-05-17 00:00:00', '2024-05-30 23:25:39', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796202010052136960, 1779777400603676672, 'dd', 1, '2024-05-03 00:00:00', '2024-05-03 00:00:00', '2024-05-30 23:28:26', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796204072726958080, 1779777400603676672, 'd', 1, '2024-05-10 00:00:00', '2024-05-10 00:00:00', '2024-05-30 23:36:37', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796354567839944704, 1779777400603676672, 'admin', 1, '2024-05-17 00:00:00', '2024-06-13 00:00:00', '2024-05-31 09:34:38', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796361013583417344, 1779777400603676672, 'admin', 1, '2024-05-11 00:00:00', '2024-06-10 00:00:00', '2024-05-31 10:00:15', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1796442194475749377, 1779777400603676672, 'd', 1, '2024-05-10 00:00:00', '2024-06-06 00:00:00', '2024-05-31 15:22:50', NULL, 4, 'admin');
INSERT INTO `zz_test_flow_leave` VALUES (1796453212681670656, 1779777400603676672, 'admin', 1, '2024-05-18 00:00:00', '2024-06-10 00:00:00', '2024-05-31 16:06:37', NULL, 4, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1797540170921152512, 1779777400603676672, '111', 1, '2024-06-04 00:00:00', '2024-06-06 00:00:00', '2024-06-03 16:05:48', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1799012020255723520, 1779777400603676672, '1111', 1, '2024-06-12 00:00:00', '2024-06-14 00:00:00', '2024-06-07 17:34:24', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1800522684333821952, 1779777400603676672, '111', 1, '2024-06-12 00:00:00', '2024-06-12 00:00:00', '2024-06-11 21:37:15', NULL, 5, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1800529322327412736, 1799417106157015040, '1111', 1, '2024-06-13 00:00:00', '2024-06-19 00:00:00', '2024-06-11 22:03:37', NULL, NULL, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1807764854329577473, 1779777400603676672, '111', 1, '2024-07-02 00:00:00', '2024-07-11 00:00:00', '2024-07-01 21:15:03', 11, 1, NULL);
INSERT INTO `zz_test_flow_leave` VALUES (1809146480452177920, 1808020007993479168, '111', 1, '2024-07-05 00:00:00', '2024-07-08 00:00:00', '2024-07-05 16:45:08', NULL, NULL, NULL);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
